Page 1 of 1

Colon in filename causes Fatal Error

Posted: 2007-04-10T15:24:20-07:00
by hankr
It appears putting a colon in a filename causes MagickWand to give the following error:

PHP Fatal error: magickreadimage(): PHP cannot read /path/to/file/IMG:0072.jpg; it specifies an unknown or disallowed ImageMagick pseudo-format in /home/site/image.php on line 155

This message happens with any file that initially works, and then is renamed with a colon, e.g. rename IMG_0072.jpg to IMG:0072.jpg

I have tried this on 1.0.1, 1.0.3, and 1.0.4 and all exhibit the same behavior.

Re: Colon in filename causes Fatal Error

Posted: 2007-04-10T17:14:57-07:00
by magick
The original MagickWand for PHP author decided not to permit colons in an image filename other than for select pseudo-formats such as plasma:. We suspect the reason is increased security although we're not sure.