Mantis - Squeak
Viewing Issue Advanced Details
1285 System major always 05-30-05 19:41 07-22-05 21:54
BrentPinkney  
 
normal  
closed 3.8  
fixed  
none    
none 3.9  
0001285: [BUG][FIX] mimeTypesFor-brp
Change Set: mimeTypesFor-brp
Date: 29 May 2005
Author: Brent Pinkney

This change set fixes a bug where mimeTypesFor: unncecessarily computes
the full file name for the argument in order to find the index of the
extension.

It then tries to find this offset in the smaller file name argument. This
signals an error.

e.g
        FileDirectory default mimeTypesFor: 'abc.png'
 mimeTypesFor-brp.1.cs.gz [^] (675 bytes) 05-30-05 19:41

Notes
(0001548)
KenCausey   
05-30-05 19:42   
Although this has been partially fixed in 3.9-alpha this changest will also apply to it and should be applied I believe.
(0001897)
MarcusDenker   
07-22-05 21:54   
tested: Got an errror without the fix, worked after filedin
(0001898)
MarcusDenker   
07-22-05 21:54   
added to 3.9a