Mercurial > hg
view tests/test-serve.out @ 13066:86888ae9ce90 stable
hgwebdir: fix incorrect index generation for invalid paths (issue2023)
edd07be943dd moved the subdirectory match inside the repository match
loop. A virtual path existing/path/invalid/path would then match
existing/path, and generate a wrong index page.
author | Wagner Bruna <wbruna@softwareexpress.com.br> |
---|---|
date | Tue, 30 Nov 2010 12:45:25 -0200 |
parents | fdb0983ad395 |
children |
line wrap: on
line source
% Without -v access log created - .hg/hgrc respected % errors % With -v listening at http://localhost/ (bound to 127.0.0.1:HGPORT1) % errors % With -v and -p HGPORT2 listening at http://localhost/ (bound to 127.0.0.1:HGPORT2) % errors % With -v and -p daytime (should fail because low port) abort: cannot start server at 'localhost:13': Permission denied abort: child process failed to start % errors % With --prefix foo listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) % errors % With --prefix /foo listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) % errors % With --prefix foo/ listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) % errors % With --prefix /foo/ listening at http://localhost/foo/ (bound to 127.0.0.1:HGPORT1) % errors