Title:
Bug 81730:ColdFusion ImageRead() function converts the passed URL path to lowercase when retrieving the image on version 9
| View in TrackerStatus/Resolution/Reason: Closed/Withdrawn/
Reporter/Name(from Bugbase): Mathew Ford / Mathew Ford (AyeraTech)
Created: 01/22/2010
Components: Language, Functions
Versions: 9.0
Failure Type: Unspecified
Found In Build/Fixed In Build: 0000 /
Priority/Frequency: Normal / Unknown
Locale/System: English / Win All
Vote Count: 0
Duplicate ID: CF-3040240
Problem:
ColdFusion ImageRead() function converts the passed URL path to lowercase when retrieving the image on version 9. This causes a "image format is not supported on this operating system" error when retrieving images from a remote host where URL is case senstive and has mixed-case in the URI. CF8 does not seem to have this issue.
Method:
Try the following on both CF8 and CF9:<CFSET objImage=ImageRead("http://somehostthatiscasesensitive.com/SomeFile.jpg")>
<!-------------------------------------------------------------------->
<CFSET objImage=ImageRead("http://10.192.37.122:8501/cfsuite/CFIMAGE/MasterImages/RedFlowers.JPG")>
<cfdump var="#objImage#">
<cfimage source="objImage" action="writeToBrowser" >
Result:
The {xxxxxxx} image format is not supported on this operating system.
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3040814
External Customer Info:
External Company:
External Customer Name: Mathew Ford
External Customer Email: 3CE61E3544BBB18A992016B6
External Test Config: 01/22/2010
Attachments:
Comments: