Project

General

Profile

Actions

Bug #1121

closed

trailing slash in SVN trunk breaks CGI apps (eg mercurial)

Added by Anonymous about 16 years ago. Updated almost 7 years ago.

Status:
Duplicate
Priority:
Normal
Category:
mod_cgi
Target version:
ASK QUESTIONS IN Forums:

Description

The behaviour between 1.4.x and svn trunk changes the behaviour of the trailing slash for CGI apps.

Steps to reproduce:
Download + install
http://www.selenic.com/mercurial/

Here was the temp fix the hg devs were kind enough to help me figure out

@mercurial/hgweb/hgweb_mod.py

- root = root:-len(pi)
+ root = root:root.rfind(pi)

Per irc discussion this will probably break other apps as well


Related issues 1 (0 open1 closed)

Is duplicate of Bug #1087: Regression: broken physical.path handling in function handle_get_backend.ObsoleteActions
Actions #1

Updated by Anonymous about 16 years ago

I have already filed a ticket (#1087) on this one, although the subject might not be that obvious.

-- peterco

Actions #2

Updated by gstrauss about 7 years ago

  • Description updated (diff)
  • Target version set to 1.5.0
Actions #3

Updated by gstrauss almost 7 years ago

  • Is duplicate of Bug #1087: Regression: broken physical.path handling in function handle_get_backend. added
Actions #4

Updated by gstrauss almost 7 years ago

  • Status changed from New to Duplicate
  • Assignee deleted (jan)
Actions

Also available in: Atom