[squeak-dev] Re: Error "opaque URL with no scheme--shouldn't happen!" after updating trunk from 10474 to 10500

Frank Shearar frank.shearar at angband.za.org
Fri Dec 31 14:19:15 UTC 2010


On 2010/12/31 13:59, Enrico Spinielli wrote:
> Hi,
> I still have the following applied in my image and I see it is still
> not yet in Trunk.
> Any core developer willing to commit it?

It's not in the Inbox anymore and you're right, it wasn't applied. I 
have a local copy I can put back in the Inbox, if it's convenient? Or if 
preferred I can remake the submission based on Network's latest version.

frank

>
> Hope it helps
> Bye
> Enrico
>
> On Wed, Sep 8, 2010 at 08:31, Frank Shearar
> <frank.shearar at angband.za.org>  wrote:
>> On 2010/09/08 08:04, Andreas Raab wrote:
>>>
>>> On 9/7/2010 11:01 PM, Frank Shearar wrote:
>>>>
>>>> There's a quicker test: Do It with: Url absoluteFromText: 'foo'
>>>>
>>>> Up until my submission (which is causing this trouble), "no scheme"
>>>> meant "use an HttpUrl".
>>>>
>>>> I can see two ways forward: (a) fix the calling sites like C. A.
>>>> Oliver's submission, or (b) add "at: nil put: HttpUrl" in the
>>>> SchemeRegistry.
>>>>
>>>> I prefer (a) myself: 'foo' isn't any kind of valid _absolute_ URI.
>>>>
>>>> The Inbox contains Network-fbs.90, which contains (b)'s fix.
>>>
>>> Perhaps even easier:
>>>
>>> ^SchemeRegistry at: (scheme ifNil:['http']) ifAbsent:[GenericUrl]
>>
>> I prefer this to my submission: it doesn't pollute SchemeRegistry.
>>
>> Network-fbs.91 contains it.
>>
>> frank
>>
>>
>
>
>




More information about the Squeak-dev mailing list