2
0
mirror of https://github.com/WikiTeam/wikiteam synced 2024-11-12 07:12:41 +00:00

Merge pull request #245 from PiRSquared17/path-parse-norm

Normalize path/foo/ to path/foo, so -2, etc. work (fixes #244)
This commit is contained in:
nemobis 2015-04-10 09:12:25 +02:00
commit 7ad89fc226

View File

@ -1438,7 +1438,7 @@ def getParameters(params=[]):
'xml': args.xml,
'namespaces': namespaces,
'exnamespaces': exnamespaces,
'path': args.path or '',
'path': os.path.normpath(args.path) or '',
'cookies': args.cookies or '',
'delay': args.delay
}