This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Mike.Lissner
Recipients Mike.Lissner
Date 2014-08-01.13:59:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1406901551.54.0.292530484807.issue22118@psf.upfronthosting.co.za>
In-reply-to
Content
FWIW, the workaround that I've just created for this problem is this:

u = 'https://www.appeals2.az.gov/../Decisions/CR20130096OPN.pdf'
# Split the url and rejoin it, nuking any '/..' patterns at the
# beginning of the path.
s = urlsplit(u)
urlunsplit(s[:2] + (re.sub('^(/\.\.)+', '', s.path),) + s[3:])
History
Date User Action Args
2014-08-01 13:59:11Mike.Lissnersetrecipients: + Mike.Lissner
2014-08-01 13:59:11Mike.Lissnersetmessageid: <1406901551.54.0.292530484807.issue22118@psf.upfronthosting.co.za>
2014-08-01 13:59:11Mike.Lissnerlinkissue22118 messages
2014-08-01 13:59:11Mike.Lissnercreate