view tests/test-symlinks.out @ 3266:b4f16bf59a5d

hgweb: Added safety net for PATH_INFO starting with double slash. This happens e.g. when using the following apache config: RewriteRule (.*) /hgwebdir/$1 [PT] instead of the less readable (but more correct): RewriteRule (.*) /hgwebdir$1 [PT]
author Thomas Arendsen Hein <thomas@intevation.de>
date Thu, 05 Oct 2006 11:57:38 +0200
parents 9d1c3529ebbc
children d7b9ec589546
line wrap: on
line source

adding foo
adding bomb
adding a.c
adding dir/a.o
adding dir/b.o
! a.c
! dir/a.o
! dir/b.o
? .hgignore
a.c: unsupported file type (type is fifo)
! a.c
# test absolute path through symlink outside repo
A f
# try symlink outside repo to file inside
abort: ../z not under root