This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfscript> | |
/** | |
* Returns true if the specified path is within the webroot of the calling server / template. | |
* It does not check for the existence of the file / directory in the provided path. | |
* | |
* @param path A full path to the file / location to query. | |
* @return Returns a boolean value | |
* @author Matt Gifford (me@mattgifford.co.uk) | |
* @version 1.0.0 | |
* @date 1st May 2013 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cffunction name="parseTwitterDateFormat" output="false" returntype="String" hint="I return the date in a useable date format."> | |
<cfargument name="twitterDate" required="true" type="string" hint="The Twitter date." /> | |
<cfset var formatter = CreateObject("java", "java.text.SimpleDateFormat").init("EEE MMM d kk:mm:ss Z yyyy") /> | |
<cfset formatter.setLenient(true) /> | |
<cfreturn formatter.parse(arguments.twitterDate) /> | |
</cffunction> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The web site you are accessing has experienced an unexpected error. | |
Please contact the website administrator. | |
The following information is meant for the website developer for debugging purposes. | |
Error Occurred While Processing Request | |
Can't assign requested address | |
ColdFusion cannot determine the line of the template that caused this error. This is often caused by an error in the exception handling subsystem. | |
Resources: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"errors":[{"message":"Sorry, that page does not exist","code":34}]} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset strText = 'Hello, world. This is the <strong>greatest</strong> example in the world.' /> | |
<!--- Instantiate the ESAPI object. ---> | |
<cfset objESAPI = createObject("java","org.owasp.esapi.ESAPI") /> | |
<!--- Assign the Encoder class to a new variable. ---> | |
<cfset objEncoder = objESAPI.encoder() /> | |
<!--- Canonicalize the provided string. ---> | |
<cfset strClean = objEncoder.canonicalize(strText, false, false) /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<cfset strText = 'Hello, world. This is the <strong>greatest</strong> example in the world.' /> | |
<!--- Instantiate the ESAPI object. ---> | |
<cfset objESAPI = createObject("java","org.owasp.esapi.ESAPI") /> | |
<!--- Assign the Encoder class to a new variable. ---> | |
<cfset objEncoder = objESAPI.encoder() /> | |
<!--- Canonicalize the provided string. ---> | |
<cfset strClean = objEncoder.canonicalize(strText, false, false) /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php show_cfmlus_link(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[cfmlus_link title="Any other title here" class="my_link_class"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Short URL: <a href="http://cfml.us/Mf" class="">http://cfml.us/Mf</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[cfmlus_link] |