We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 339e56b commit 27104adCopy full SHA for 27104ad
js/cookies.js
@@ -193,7 +193,10 @@ var cookieHunter = {
193
block = httpsb.blacklisted(pageUrl, 'cookie', cookieDomain);
194
rootUrl = (cookie.secure ? 'https://' : 'http://') + cookieDomain;
195
if ( record ) {
196
- pageStats.recordRequest('cookie', rootUrl + '/{cookie:' + cookie.name.toLowerCase() + '}', block);
+ // rhill 2013-11-20:
197
+ // https://github.com/gorhill/httpswitchboard/issues/60
198
+ // Need to URL-encode cookie name
199
+ pageStats.recordRequest('cookie', rootUrl + '/{cookie:' + encodeURIComponent(cookie.name.toLowerCase()) + '}', block);
200
httpsb.requestStats.record('cookie', block);
201
}
202
if ( block && deleteCookies ) {
0 commit comments