.hgignore
author Thomas Arendsen Hein <thomas@intevation.de>
Thu, 02 Mar 2006 09:17:04 +0100
changeset 1825 a9343f9d7365
parent 1817 e02fea13c69d
child 2068 4a49daa3a40c
permissions -rw-r--r--
Make hgweb.staticfile() more secure and portable. Without this, files in directories next to the static directory starting with 'static' could be retrieved, e.g. with '../static.private/foo'. Additionally staticfile now generates platform specific pathnames from the /-separated paths given in the URL. Illegal file names (e.g. containing %00) now yield a sane error message.

syntax: glob

*.elc
*.orig
*.rej
*~
*.so
*.pyc
*.swp
*.prof
tests/*.err
build
dist
doc/*.[0-9]
doc/*.[0-9].gendoc.txt
doc/*.[0-9].{x,ht}ml
MANIFEST
patches
mercurial/__version__.py

syntax: regexp
^\.pc/