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]
Cheers, - Andreas