Closed (fixed)
Project:
ImageCache
Version:
6.x-2.0-beta10
Component:
imagecache_image module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Jun 2010 at 19:26 UTC
Updated:
2 Jun 2012 at 22:24 UTC
A user uploaded an image with a title like CM10blocks_slidercrop_m#112.jpg, got this error
Type imagecache
Date Thursday, June 10, 2010 - 15:15
User ..
Location http://../files/imagecache/speaker_page/frontpage_slider_image/CM10blocks_slidercrop_m
Referrer http://cm.dev.echoditto.com/admin/cm-slider
Message 404: Unable to find sites/default/files/frontpage_slider_image/CM10blocks_slidercrop_m
Severity error
Hostname ..
Operations
Using the ImageAPI GD2 toolkit for imagecache. Is this a problem with the toolkit or is this something we can fix in the imagecache module?
Workaround: remove the # and the image is resized normally.
Comments
Comment #1
kinghfb commentedI've found the bug has something to do with the unescaped # being mis-interpreted by PHP
I added:
to line 317 of imagecache.module and it seems to have done the trick for now *knocks wood*. I'll allow the contributors to make a judgement call based on this fix.
EDIT: As far as I can tell, this is caused (I think) in association with clean URLs and the rewrite script cutting the incoming request at the #
Comment #2
fizk commentedPlease reopen if this is still an issue with ImageCache 6.x-2.0-rc1.