Last modified: 2014-05-05 14:19:31 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T66884, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 64884 - mediawiki.Uri does not support IPv6 URIs
mediawiki.Uri does not support IPv6 URIs
Status: NEW
Product: MediaWiki
Classification: Unclassified
JavaScript (Other open bugs)
1.23.0
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
: ipv6, javascript
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-05 12:03 UTC by Fomafix
Modified: 2014-05-05 14:19 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Fomafix 2014-05-05 12:03:22 UTC
mediawiki.Uri does not support IPv6 URIs:

>>> var uri = new mw.Uri( 'http://127.0.0.1/' )
undefined
>>> var uri = new mw.Uri( 'http://[::1]/' )
Error: Bad constructor arguments
Comment 1 Fomafix 2014-05-05 14:19:31 UTC
On a MediaWiki installation with IPv6 URL like
http://[::1]/w/index.php
the class mw.Uri gets not created because it is initialized with

mw.Uri = mw.UriRelative( document.location.href );

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links