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

[REBOL] Re: dirty HTTP redirects

From: hallvard:ystad:helpinhand at: 26-Nov-2001 17:22

This is a hack: site: make port! full-url open site double-slash: split-path to-url site/url if find at double-slash/1 (index? find double-slash/1 "//") + 2 "//" [ open to-url to-string head remove find at double-slash/1 (index? find double-slash/1 "//") + 2 "//" ] ... but it really shouldn't be neccessary, should it? ~H Dixit Hallvard Ystad (Monday 26.11.2001, kl. 14.51):