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

[REBOL] Re: clean-path

From: arolls:bigpond:au at: 4-Dec-2000 19:43

> Anton wrote: > > 'clean-path claims that it accepts urls, so I guess the feature was > forgotten to be implemented. > > You should report it to feedback, I reckon. > > I wouldn't. Where does this URL point to: > > ? > Could Rebol have guessed: > > ?
Maybe it can. If you look at a trace/net of read you can see (many of): Net-log: "HTTP/1.1 302 Found" URL Parse: none none none none none Net-log: ["Opening tcp for" HTTP] Net-log: {GET / HTTP/1.0 Accept: */* Connection: close User-Agent: REBOL Host: Extracting the above is a little bit more complicated than just operating the same as local paths but we should at least try, hey? Anyway, local paths can lead to trouble too, can't they? What about symbolic links and volumes mounted as /blah in unix-land? eg. /usr/../../ Where does that take you? (Is that a bad example?) So I still think it should be reported. This has been a code-free document. Anton.