KIBE#41345 Export naar Excel beter ingelogd blijven?
svn path=/Website/branches/v2017.1/; revision=34757
This commit is contained in:
@@ -282,6 +282,15 @@ if ((user_key < 0 || getQParamInt("jwtforce", 0) == 1) && typeof LOGIN_try == "u
|
||||
|
||||
if (user_key < 0 && typeof ANONYMOUS_Allowed == "undefined")
|
||||
{
|
||||
var method = String(Request.ServerVariables("REQUEST_METHOD"));
|
||||
if (method == "HEAD" || method == "OPTIONS" || method == "PROPFIND")
|
||||
{ // Een HEAD zonder cookies is waarschijnlijk afkomstig van Excel
|
||||
// met agent 'Microsoft+Office+Existence+Discovery'
|
||||
// Door de '405' heeft hij hopelijk door dat we echt geen WEBDAV doen
|
||||
Response.Status = "405 Method not allowed";
|
||||
Response.End;
|
||||
}
|
||||
|
||||
if (JSON_Result) // Login scherm werkt toch niet
|
||||
{
|
||||
Response.Clear();
|
||||
|
||||
Reference in New Issue
Block a user