[ansel] File size error

Michael J Rubinsky mrubinsk at horde.org
Fri Oct 28 22:27:39 UTC 2011


Quoting Ryu <ryu at ryux.org>:

...

>> What type of file are you uploading? Do you have Mime Magic set up
>> correctly? What is the value of type after line 294?
>
> Well, I just check this line. But I never passed this code.
> line 263 : if (empty($type) || $type == 'application/octet-stream') {
> This is this test which failed because $type has for value  
> "application/octet-
> stream; charset=UTF-8"

Ah, sorry, I missed that in your original post. Indeed, Ansel should  
take care of that.

...

>
> PS: I updated to Ansel 2.0 RC2 but the original problem of 1mb limit is still
> present. With the patch, it is ok.

Yeah, the fix for this is in the 'Horde' package, and an update has  
not yet been released.


-- 
mike

The Horde Project (www.horde.org)
mrubinsk at horde.org



More information about the ansel mailing list