[REBOL] Re: ";" semi-colons in urls
From: carl:cybercraft at: 12-Jan-2001 11:07
On 12-Jan-01, Ryan C. Christiansen wrote:
> Either I didn't understand your solution or it doesn't work with
> REBOL/Core 2.3.0.3.1 for Windows.
>>> to-url
>>>
http://ad2.doubleclick.net/jump/sonar.bebits/default;sz=468x60;ord=979
> 190170
> == http://ad2.doubleclick.net/jump/sonar.bebits/default
> This cuts off everything past the semi-colon
The URL should've been in quotes - ie a string. All the
to-something
words, (to-url, to-string etc.), are for forcing a
value to be a specific datatype, even though they may be of another
type.
That said, I still get the same error as you.
>>> read
>>>
http://ad2.doubleclick.net/jump/sonar.bebits/default%3Bsz=468x60%3Bord=9
> 79190170
> ** User Error: URL error:
> http://ad2.doubleclick.net/jump/sonar.bebits/default;s
> z=468x60;ord=979190170. ** Where: read
> http://ad2.doubleclick.net/jump/sonar.bebits/default%3Bsz=468x60%
> 3Bord=979190170
> Using the ASCII code gives a "User Error" error
--
Carl Read
[carl--cybercraft--co--nz]