Skip to content
Permalink
Browse files

Correctly ignore protected cookies on Gecko 21+

  • Loading branch information...
Infocatcher committed May 14, 2013
1 parent d07c2a2 commit 585870124653bf2093ea0df44e1fda43c767c50f
Showing with 1 addition and 0 deletions.
  1. +1 −0 Cookies_Permissions/cookiesPermissions.js
@@ -593,6 +593,7 @@ this.permissions = {
getURI: function(host) {
if(host.indexOf(":") != -1 && /^[:\da-f.]+$/.test(host)) // IPv6
host = "[" + host + "]";
host = host.replace(/^\./, "");
try {
return this.io.newURI("http://" + host, null, null);
}

0 comments on commit 5858701

Please sign in to comment.
You can’t perform that action at this time.