FSN#34642 no302=1 ondersteunen voor bookmarks zodat meta-refresh wordt gebruikt

svn path=/Website/trunk/; revision=27236
This commit is contained in:
Jos Groot Lipman
2015-12-02 16:34:43 +00:00
parent 9a81335e82
commit 1becb4026a
2 changed files with 20 additions and 4 deletions

View File

@@ -134,6 +134,22 @@
}
else
var theURL = protectQS.create(url);
Response.Redirect(theURL);
var no302 = getQParamInt("no302", 0) == 1;
if (no302)
{
%> <html>
<head>
<title>FACILITOR</title>
<META http-equiv="refresh" content="0;URL=<%=safe.htmlattr(theURL)%>">
</head>
<body bgcolor="#ffffff">
<a href="<%=safe.htmlattr(theURL)%>">Auto redirect</a>
</body>
</html>
<%
}
else
Response.Redirect(theURL);
%>