Title:
Bug 82372:When specifying a scheduled action via cfschedule, an ampersand in the URL is stripped out
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Rob Kolosky / Rob Kolosky (rkolosky)
Created: 03/08/2010
Components: Scheduler
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 9,0,0,251028 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Win All
Vote Count: 0
Problem:
When specifying a scheduled action via cfschedule, an ampersand in the URL is stripped out. However, you can put an apmersand into the URL through the Administrator.I've tried URLEncode(url) and xmlFormat(url), both of which don't work
Method:
<cfset newStartNumber = 500 /><cfset targetURL = "http://localhost/applicationName/index.cfm?action=main.processFiles&startRow=#newStartNumber#" /><cfschedule action="update" task="Process File" interval="once" operation="HTTPRequest" url="#targetURL#" startDate="#DateFormat(targetDate,"mm/dd/yyyy")#" startTime="#TimeFormat(targetDate,"hh:mm:ss tt")#" />
Result:
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3041102
External Customer Info:
External Company:
External Customer Name: Rob Kolosky
External Customer Email: 0D63608F448DC27599201549
External Test Config: 03/08/2010
Attachments:
Comments: