Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): / ext-user (S Preethi)
Created: 12/21/2015
Components: CFIMAGE
Versions: 11.0
Failure Type:
Found In Build/Fixed In Build: cf_main /
Priority/Frequency: Normal / Most users will encounter
Locale/System: English / Mac 10 All,Win XP All
Vote Count: 1
Problem:
CFIMAGE throws an exception when filenames/source contains space.
Method:
<cfset myImage = ImageNew("http://www.pictureperfecttool.com/img/Flag - 128.png") /> //throws exception
<cfset myImage = ImageNew("http://www.pictureperfecttool.com/img/Flag-128.png") /> //work
Result:
Throws an exception:
java.io.IOException (coldfusion.image.ImageReader$ImageReadingException)
Expected:
It should work with spaces.
Workaround:
replace the space with %20.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 4102192
External Customer Info:
External Company:
External Customer Name:
External Customer Email:
Attachments:
Comments: