FSN#32308 IIS Rewriter in plaats van IIRF
svn path=/Website/trunk/; revision=25674
This commit is contained in:
@@ -58,7 +58,13 @@ function scaffolding(model, scf_params)
|
||||
if (orgurl.Count)
|
||||
scf_params.this_fullpath = String(orgurl).split("?")[0];
|
||||
else
|
||||
scf_params.this_fullpath = String(Request.ServerVariables("SCRIPT_NAME"));
|
||||
{
|
||||
var orgurl = Request.ServerVariables("HTTP_X_ORIGINAL_URL"); // Origineel van IIS Rewriter
|
||||
if (orgurl.Count)
|
||||
scf_params.this_fullpath = String(orgurl).split("?")[0];
|
||||
else
|
||||
scf_params.this_fullpath = String(Request.ServerVariables("SCRIPT_NAME"));
|
||||
}
|
||||
scf_params.this_path = scf_params.this_fullpath.substring(rooturl.length + 1);
|
||||
|
||||
// Algemene normalizing
|
||||
|
||||
@@ -53,7 +53,13 @@ function scaffolding(model, scf_params)
|
||||
if (orgurl.Count)
|
||||
scf_params.this_fullpath = String(orgurl).split("?")[0];
|
||||
else
|
||||
scf_params.this_fullpath = String(Request.ServerVariables("SCRIPT_NAME"));
|
||||
{
|
||||
var orgurl = Request.ServerVariables("HTTP_X_ORIGINAL_URL"); // Origineel van IIS Rewriter
|
||||
if (orgurl.Count)
|
||||
scf_params.this_fullpath = String(orgurl).split("?")[0];
|
||||
else
|
||||
scf_params.this_fullpath = String(Request.ServerVariables("SCRIPT_NAME"));
|
||||
}
|
||||
scf_params.this_path = scf_params.this_fullpath.substring(rooturl.length + 1);
|
||||
|
||||
// Algemene normalizing
|
||||
|
||||
Reference in New Issue
Block a user