[squeak-dev] Re: [CryptographyTeam]Re:DigitalSignatureAlgorithm>>#initRandomNonInteractivelyisnotrandom

Levente Uzonyi leves at elte.hu
Sat Sep 4 06:57:14 UTC 2010


On Fri, 3 Sep 2010, Andreas Raab wrote:

> On 9/3/2010 4:25 PM, Levente Uzonyi wrote:
>> And ConfigurationOfVMMaker can't load VMMaker, because there's a bug in
>> HTTPSocket class >> #httpRequest:url:headers:content:response:. It
>> double encodes the value of rawUrl. This prevents the code to load
>> "Freetype-Plugin-John M McIntosh.55.mcz" because the filename contains
>> spaces (initials shouldn't contain spaces...). Which are encoded to %20,
>> then %20 is encoded to %2520 which results in a 404 error.
>
> Ouch. What's the easiest way to reproduce this problem?

repository := MCHttpRepository
 	location: 'http://source.impara.de/freetype'
 	user: ''
 	password: ''.
repository readStreamForFileNamed: 'Freetype-Plugin-John M McIntosh.55.mcz' do: [ :contents | 'ok' ].

This should print 'ok' instead of nil. Debug it for details.


Levente

>
> Cheers,
>  - Andreas
>
>



More information about the Squeak-dev mailing list