[Seaside] WAImage class>>fromByteArray: fix
michel.bany at gmail.com
Fri Mar 9 09:20:45 UTC 2007
Thanks for this bugfix. I will update the public store asap.
It may take some time because I will try to publish something that
works with both Seaside 2.6 and 2.7.
On 08 Mar 2007, at 20:05 , Boris Popov wrote:
> Just came across this when trying to load files less than 6 bytes in
> size where outer handler tests the file for being a picture by
> NotAnImage exception; fix just adds the size check on the first line,
> WAImage class>>fromByteArray: aByteArray
> | dim gifHeaders header |
> aByteArray size < 6 ifTrue: [NotAnImage raise].
More information about the Seaside