Mercurial > bitten > bitten-test
comparison scripts/proxy.py @ 528:f3bf55de8a34
Prevent path highlighting from passing non-canonical paths to svn:
* ignore prefixes like `-I` (so that `-I../..` does not resolve down to `.`)
* Normalize the path before looking in the repository
* Check that nothing like `../` will allow the link to point out of the configured repository section
* Add a test for the bad links that we could reproduce producing the `is_canonical` crash
* Should fix #206
author | dfraser |
---|---|
date | Wed, 18 Mar 2009 08:50:17 +0000 |
parents | 2269b705deb9 |
children |
comparison
equal
deleted
inserted
replaced
527:ab4942089190 | 528:f3bf55de8a34 |
---|