Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
IPv6 address URL parsing fails #2362
If you use jQuery Mobile with an IPv6 address in the URL, e.g.
then it won't work at all because URL parsing fails. I fixed the hostname part of the urlParseRE to make it work.
Currently it reads
Thank you and best regards
Based on my reading here: http://www.ietf.org/rfc/rfc3986.txt I made alterations to prevent matching on the reserved characters described in section 3.2.2 for the host portion.
Any review here is appreciated, and if you feel particularly energetic we'd love some additions to the test suite if you spot issues :D