CFHTMLTOPDF fails when source is relative path with query-string| View in Tracker
Reporter/Name(from Bugbase): Jerry B. / ()
Failure Type: Non Functioning
Found In Build/Fixed In Build: ColdFusion 11 Update 19 /
Priority/Frequency: Normal / All users will encounter
Locale/System: English / Win 2012 Server x64
Vote Count: 0
Problem Description: CFHTMLTOPDF fails when source is a relative path with query-string. Steps to Reproduce: Set source to relative path of a local page and specify a query-string. e.g. <cfhtmltopdf source="testpage.cfm?mode=p"></cfhtmltopdf> Actual Result: Error is generated: Either the src is not a proper URL or the file specified by absolute path does not exist. Invalid source testpage.cfm?mode=p specified. Expected Result: The page should load on screen as a PDF as it does when the query-string is not specified. e.g source="testpage.cfm" Any Workarounds: The only work around is specify the full URL.