Permalink
Browse files

Adjusted the urlParserRE regexp to account for double slashes in the …

…directory path to work around a phonegap 0.9.4.
  • Loading branch information...
1 parent 7e40ddf commit dd69372dd4f392137ec160bbbee2b68876b6a901 @jblas jblas committed Jun 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery.mobile.navigation.js
@@ -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.

0 comments on commit dd69372

Please sign in to comment.