Permalink
Browse files

url decode cookie value

  • Loading branch information...
1 parent d9e06d0 commit 9a4865874ed19712c4e65f2b906ca579bda0a33d @matzko committed Apr 4, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 client-files/js/filosofo-js.dev.js
@@ -244,7 +244,7 @@ var FilosofoJS = function(scope) {
while( ca[i].charAt(0) == ' ' )
ca[i] = ca[i].substring( 1, ca[i].length );
if (ca[i].indexOf( nameEQ ) == 0 )
- return ca[i].substring( nameEQ.length, ca[i].length );
+ return decodeURIComponent( ca[i].substring( nameEQ.length, ca[i].length ) );
}
return null;
},

0 comments on commit 9a48658

Please sign in to comment.