mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-04-05 07:01:00 +00:00
Adjusted the urlParserRE regexp to account for double slashes in the directory path to work around a phonegap 0.9.4.
This commit is contained in:
parent
7e40ddff4e
commit
dd69372dd4
1 changed files with 1 additions and 1 deletions
|
|
@ -38,7 +38,7 @@
|
|||
// [15]: ?msg=1234&type=unread
|
||||
// [16]: #msg-content
|
||||
//
|
||||
urlParseRE: /^(((([^:\/#\?]+:)?(?:\/\/((?:(([^:@\/#\?]+)(?:\:([^:@\/#\?]+))?)@)?(([^:\/#\?]+)(?:\:([0-9]+))?))?)?)?((\/?(?:[^\/\?#]+\/)*)([^\?#]*)))?(\?[^#]+)?)(#.*)?/,
|
||||
urlParseRE: /^(((([^:\/#\?]+:)?(?:\/\/((?:(([^:@\/#\?]+)(?:\:([^:@\/#\?]+))?)@)?(([^:\/#\?]+)(?:\:([0-9]+))?))?)?)?((\/?(?:[^\/\?#]+\/+)*)([^\?#]*)))?(\?[^#]+)?)(#.*)?/,
|
||||
|
||||
//Parse a URL into a structure that allows easy access to
|
||||
//all of the URL components by name.
|
||||
|
|
|
|||
Loading…
Reference in a new issue