Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
2.6.0
-
None
Description
We build application based on Phonegap (2.6.0) and AngularJS (1.1.3). On iOS and Android works great. On Windows Phone 7 and 8 we gets error: "Unable to get property '1' of undefined or null reference file:x-wmapp0:www/js/libs/angular.js Line:5034"
Problem is in function matchUrl:
var match = URL_MATCH.exec(url);
match =
{ protocol: match[1], host: match[3], port: int(match[5]) || DEFAULT_PORTS[match[1]] || null, path: match[6] || '/', search: match[8], hash: match[10] };
Problem is that variable url contains this: "x-wmapp0:/www/index.html" and URL_MATCH.exec can't parse that url correctly.