https://bugzilla.wikimedia.org/show_bug.cgi?id=42513

--- Comment #6 from Krinkle <[email protected]> ---
(In reply to comment #3)
> I googled a little for a reasonable JS URI parsing library that could replace
> those half-baked regexes, and found this: https://gist.github.com/2428561
> 
> It seems genius and is 100% correct. Is it a good idea to use something like
> this? If it is, I can implement it.

That's not a URI parsing library, that's an unreliable hack using <a href="">
parsing. See the comments there.

On further investigation and following links from that gist, it looks like the
regexes in mw.Uri aren't so half-baked.

They actually come from here:
http://blog.stevenlevithan.com/archives/parseuri

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to