[horde] ansel: not working with IE ( temporary fixed :-)

Michael J Rubinsky mrubinsk at horde.org
Wed Dec 2 14:08:56 UTC 2015


Quoting A. Schulze <sca at andreasschulze.de>:

> A. Schulze:
>
>
>> The http response contain a header "Content-Type: image/jpg". That's right.
> maybe that's wrong.
>
> other webserver I tried, serve .jpg with "content-type: image/jpeg"
> -> notice the E in jpeg
>
> I modified ansel/lib/Image.php ~line 1284 and now IE *is* able to  
> show pictures.
> Yea!
>
> what do others think about the solution?

Good catch. image/jpg is accepted by most browsers, but image/jpeg is  
the correct standard type. Fixed in Git.

-- 
mike
The Horde Project
http://www.horde.org
https://www.facebook.com/hordeproject
https://www.twitter.com/hordeproject
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5751 bytes
Desc: S/MIME Signature
URL: <http://lists.horde.org/archives/horde/attachments/20151202/7b819455/attachment.bin>


More information about the horde mailing list