Message262581
Please find attached a patch which adds a testcase for Windows (on all platforms) as well as code to fix the problem. Since os.path.split returns everything after the final slash/backslash, it only needs to be called once.
Note that the usage of posixpath is correct and only relates to the URL parsing - it powers foo/bar/../../ .
The path elements may indeed contain backslashes - that's why we call os.path.split on them. |
|
Date |
User |
Action |
Args |
2016-03-28 19:59:51 | phihag | set | recipients:
+ phihag, paul.moore, tim.golden, martin.panter, zach.ware, steve.dower, xiang.zhang, Thomas |
2016-03-28 19:59:51 | phihag | set | messageid: <1459195191.16.0.0521201180966.issue26657@psf.upfronthosting.co.za> |
2016-03-28 19:59:51 | phihag | link | issue26657 messages |
2016-03-28 19:59:51 | phihag | create | |
|