CFML test (breaks in Redmine Code Browser)
Plain text
code posted
created at 20 Sep 11:46, updated at 21 Sep 20:16
Edit
|
Back
1 2 3 4 5 6 7 8 9 10 11 |
<!--- Security check ---><!---
---><cfif request.indexing eq false and request.bIsPrivate and (not isDefined("request.nodeidToPreview"))><!---
---><cfset XFA_LoginFormDisplay = "login.LoginFormDisplay" /><!---
---><cfset XFA_Html = "public.html" /><!---
---><cfinclude template="#fusebox.rootpath#/#ListRest(fusebox.circuits.login, '/')#/act_SecurityCheckRead.cfm"><!---
---><cfif NOT IsDefined("request.bIsRead") OR NOT request.bIsRead><!---
---><cfset sCurrentURL = application.stComponents.cUtilities.GetCurrentURL(cgi.https, cgi.server_port, cgi.path_info, request.URLRoot, cgi.query_string)><!---
---><cfset sStrippedURL = application.stComponents.cUtilities.stripURLToken(sCurrentURL)><!---
---><cfset login=session.sldapid><cfset StructClear(session)><cflocation addtoken="false" url="#request.loginwebsite#?from=#URLEncodedFormat(sStrippedURL)#&sMessage=You+(#login#)+are+not+allowed+to+access+the+requested+page&SID=ID#Replace(CFID,'-','' ,'all')#x#Replace(CFTOKEN,'-','' ,'all')#" /><!---
---></cfif><!---
---></cfif><!---End security check --->
|
1.07 KB in 1 ms with coderay