tracker issue : CF-4205868

select a category, or use search below
(searches all categories and all time range)

CFHTMLTOPDF fails when source is relative path with query-string

| View in Tracker

Status/Resolution/Reason: Open//

Reporter/Name(from Bugbase): Jerry B. / ()

Created: 11/14/2019

Components: Document Management, PDF Generation (CFHTML2PDF)

Versions: 11.0

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.