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 vstinner
Recipients Arfrever, bkabrda, christian.heimes, fweimer, georg.brandl, gregory.p.smith, iankko, mpessas, pitrou, tim.peters, timehorse, vstinner
Date 2013-05-17.07:51:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368777078.96.0.603443202196.issue17980@psf.upfronthosting.co.za>
In-reply-to
Content
> Are multiple wildcards per fragment even specified?

I don't know the standard, but it sounds strange to have more than one wildcard per part of an URL. "*.*.*.google.com" looks valid to me, whereas "*a*a*a*.google.com" looks very suspicious.

Said differently, I expect:

assert max(part.count("*") for part in url.split(".")) <= 1

"*" pattern is replace with '[^.]+' regex, so I may not cause the exponential complexity issue. (I didn't check.)
History
Date User Action Args
2013-05-17 07:51:19vstinnersetrecipients: + vstinner, tim.peters, georg.brandl, gregory.p.smith, pitrou, christian.heimes, timehorse, Arfrever, iankko, bkabrda, fweimer, mpessas
2013-05-17 07:51:18vstinnersetmessageid: <1368777078.96.0.603443202196.issue17980@psf.upfronthosting.co.za>
2013-05-17 07:51:18vstinnerlinkissue17980 messages
2013-05-17 07:51:18vstinnercreate