Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: URL handling

From: hallvard:ystad:helpinhand at: 22-Sep-2001 11:36

Holger Kruse skrev (Friday 21.09.2001, kl. 23.21):
>German, actually.
Oh. You're the second German by the name of Holger that I'm accusing of being danish... I hope you're not upset. Have a cyber-beer anyway, it's on me.
>What you are saying is a little confusing... Is 'my-word of type >url! ? In that case you don't have to convert anything. It contains >what you want. Is it of type string! ? In that case you don't need >the quotes, just use to-url on the string. > >You only run into problems if you run a URL that does not contain >the required % escaping through 'load, 'do or any other function >that uses the scanner, e.g. to-string when the argument is a block.
If what I said was confusing, it's because I was confused. It's better now, after reading your re-explanation. Thanks. What I meant was that already when passing unquoted characters beginning with http:// to the to-string function, the characters go through the scanner. Ce qui se conçoit bien s'énonce clairement / et les mots pour le dire viennent aisément (otherwise, it's the other way around) ~H