Skip to content

Commit 698a45b

Browse files
committed
Check for explicit paths as root, not as full path.
1 parent 0be1456 commit 698a45b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cookiejar.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@
133133
if (this.path && access_info.path.indexOf(this.path) !== 0) {
134134
return false;
135135
}
136-
if (this.explicit_path && this.path !== access_info.path) {
136+
if (this.explicit_path && access_info.path.indexOf( this.path ) !== 0) {
137137
return false;
138138
}
139139
var access_domain = access_info.domain && access_info.domain.replace(/^[\.]/,'');

0 commit comments

Comments
 (0)