FSN#37512 PENTEST 4.9.3 X-Content-Type-Options", "nosniff"
svn path=/Website/trunk/; revision=30485
This commit is contained in:
@@ -246,10 +246,8 @@ if (user_key < 0 && typeof ANONYMOUS_Allowed == "undefined")
|
||||
if (JSON_Result) // Login scherm werkt toch niet
|
||||
{
|
||||
Response.Clear();
|
||||
var txt = L("lcl_session_expired");
|
||||
// if (Session("customerId")) ==> txt = "U bent niet ingelogd");
|
||||
// JSON.stringfy hebben we (nog!) niet gegarandeerd dus maar poor-man stringify
|
||||
Response.Write('{"warning":"'+txt.replace(/\n/g,"\\n").replace(/\"/g,"\\\"") +'","success":false}');
|
||||
Response.Write('{"warning":"'+L("lcl_not_loggedin").replace(/\n/g,"\\n").replace(/\"/g,"\\\"") +'","success":false}');
|
||||
Response.End;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user