Message224503
| 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:11 | Mike.Lissner | set | recipients:
+ Mike.Lissner |
| 2014年08月01日 13:59:11 | Mike.Lissner | set | messageid: <1406901551.54.0.292530484807.issue22118@psf.upfronthosting.co.za> |
| 2014年08月01日 13:59:11 | Mike.Lissner | link | issue22118 messages |
| 2014年08月01日 13:59:11 | Mike.Lissner | create |
|