Skip to content

Instantly share code, notes, and snippets.

@adamcameron
Created October 28, 2013 16:30
Show Gist options
  • Save adamcameron/7200083 to your computer and use it in GitHub Desktop.
Save adamcameron/7200083 to your computer and use it in GitHub Desktop.
Demonstrating bug 3364510. The cfparam.cfm example raises an exception if URL.required is not set. This is expected behaviour. The param.cfm example does NOT raise an exception. This is wrong. Tested on CF 9,0,1,274733 and 10,0,11,285437: both have same failure Also tested on Railo 4.1.1.009: it works fine; and OpenBD 3,1: also works fine
<cfparam name="URL.required">
Don't output this unless that required variable is set
<cfscript>
param name="URL.required";
</cfscript>
Don't output this unless that required variable is set
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment