We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 8e999f5 + 6c81b34 commit 8bd7855Copy full SHA for 8bd7855
1 file changed
cookiejar.js
@@ -137,7 +137,7 @@
137
return false;
138
}
139
140
- var access_domain = access_info.domain.replace(/^[\.]/,'');
+ var access_domain = access_info.domain && access_info.domain.replace(/^[\.]/,'');
141
var cookie_domain = this.domain && this.domain.replace(/^[\.]/,'');
142
if (cookie_domain === access_domain) {
143
return true;
0 commit comments