From 0b92fdfc628656f9d7b562d62733778f144e65d9 Mon Sep 17 00:00:00 2001 From: John McLear Date: Mon, 3 Dec 2012 12:47:11 +0000 Subject: [PATCH] fix IE auth but only a temp fix --- src/static/js/pad_utils.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/static/js/pad_utils.js b/src/static/js/pad_utils.js index f752722f3..59c3d4190 100644 --- a/src/static/js/pad_utils.js +++ b/src/static/js/pad_utils.js @@ -52,8 +52,9 @@ function createCookie(name, value, days, path) if(!path) path = "/"; - if(!path) - path = "/"; + // This fixes an issue with IE not wanting to store cookies for Auth #1234. It's a temp fix because + // Really we should be storing the cookie on teh document.location path and not modifying the fsking URL to contain a password! + document.cookie = name + "=" + value + expires + "; path=" + "/"; //Check if the browser is IE and if so make sure the full path is set in the cookie if(navigator.appName=='Microsoft Internet Explorer'){