grim/hgkeeper

Deny invalid path

12 months ago, aklitzing
5a19892df841
Deny invalid path

If an authenticated user calls `hg init hg.host.com/dummy/../../../etc`
it will create the repository in another root directory if the process of
hgkeeper has permissions for this.
This could be an attack to the server.

Also hgkeeper admin repository can be overriden like this.
`hg init ssh://hg.host.com/dummy/../hgkeeper/keys`

Reviewed at https://reviews.imfreedom.org/r/2422/
b1bb1f180feecc19c7da68e7f0a87954c53289f9 v1.0.0
22d5b3872b4353d0ab28d62f81424af97687a895 v1.1.0