Project

General

Profile

Bug #1121

Updated by gstrauss about 9 years ago

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[[lighttpd::-len(pi)]] 
 + root = root[[lighttpd::root.rfind(pi)]] 

 Per irc discussion this will probably break other apps as well 
 

Back