https://bugzilla.wikimedia.org/show_bug.cgi?id=42513
Web browser: ---
Bug #: 42513
Summary: mediawiki.Uri crashes in pages with '@' in their url
Product: MediaWiki
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: critical
Priority: Unprioritized
Component: JavaScript
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Blocks: 42306
Classification: Unclassified
Mobile Platform: ---
It isn't just that this would throw an exception:
new
mw.Uri('http://krinkle.dev/mediawiki/alpha/index.php?title=VisualEditor:S@box&action=edit');
Although that is also bad (when done on non-@ pages), it is especially bad that
on pages containing an @ in the url, the module won't even finish loading
because of this line:
defaultUri = new Uri( documentLocation );
So instead, mw.Uri stays undefined.
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l