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

--- Comment #12 from Tyler Romeo <[email protected]> ---
Yes, but is it truly necessary to validate that much? I mean, for example, take
the (invalid) URI "https://www.google.com/search?q=test test". The URI is
invalid because it has a space character in the query, but if you were to do
something like "location.href = <that uri>", it would work perfectly fine,
because the browser automatically percent-encodes the space.

Basically, I'm wondering for what the mw.Uri class is being used for that
requires such strict validation.

-- 
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