mirror of
https://github.com/silkimen/cordova-plugin-advanced-http.git
synced 2026-05-31 00:00:07 +08:00
removed „String.prototype.startsWith“ call to be compatible with older web view versions
This commit is contained in:
@@ -98,7 +98,7 @@ WebStorageCookieStore.prototype._isOnPath = function(cookiePath, urlPath) {
|
||||
return true;
|
||||
}
|
||||
|
||||
if (!urlPath.startsWith(cookiePath)) {
|
||||
if (urlPath.indexOf(cookiePath) !== 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user