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

URL Authentication

 [1/5] from: reboler:bol at: 25-Feb-2003 16:31


Hi Rebolers!, Do you know how to authenticate this: page: read http://user:[pass--host--com]/ when the 'user' or 'pass' uses a "@" or as its value ? Is there a bug in the protocol or should I have to authenticate using the complete header "Authorization: Basic enbase{user:pass} " Thanks in advance. --Dj

 [2/5] from: petr:krenzelok:trz:cz at: 25-Feb-2003 21:26


reboler wrote:
>Hi Rebolers!, > >Do you know how to authenticate this: > >page: read http://user:[pass--host--com]/ > >when the 'user' or 'pass' uses a "@" or as its value ? >
I am not sure it will help, but it could :-) I had similar problem using FTP. RT said such char is not officially allowed in URL to be used as part of name or pass IIRC, well, but I find it pretty common and I think official protocols should be adapted ... net-utils/url-parser/user-char: union net-utils/url-parser/user-char make bitset! #"@" net-utils/url-parser/path-char: union net-utils/url-parser/path-char make bitset! #"#" PS: I don't remember what is second line good for, but .... those are lines from my user.r :-) cheers, -pekr-

 [3/5] from: rondon:andrade:uol at: 25-Feb-2003 20:24


It worked!! Thanks Pekr!!
> reboler wrote: > >Hi Rebolers!,
<<quoted lines omitted: 6>>
> > > I am not sure it will help, but it could :-
) I had similar problem using
> FTP. RT said such char is not officially allowed in URL to b
e used as
> part of name or pass IIRC, well, but I find it pretty common
and I think
> official protocols should be adapted ... > > net-utils/url-parser/user-char: union net-utils/url-
parser/user-char
> make bitset! #"@" > net-utils/url-parser/path-char: union net-utils/url-
parser/path-char
> make bitset! #"#" > > PS: I don't remember what is second line good for, but ....
those are
> lines from my user.r :-) > cheers,
<<quoted lines omitted: 10>>
> > > >___________________________________________________________
_______________
> >E-mail Premium BOL > >Antiv=EDrus, anti-spam e at=E9 100 MB de espa=E7o. Assine j=E1!
<<quoted lines omitted: 7>>
> [rebol-request--rebol--com] with "unsubscribe" in the > subject, without the quotes.
--- UOL, o melhor da Internet http://www.uol.com.br/

 [4/5] from: reboler:bol at: 25-Feb-2003 20:26


Hi Pekr! I tried here.. it worked fine!!! thank you very much!! -- DJ

 [5/5] from: g::santilli::tiscalinet::it at: 26-Feb-2003 10:00


Hi reboler, On Tuesday, February 25, 2003, 8:31:52 PM, you wrote: r> page: read http://user:[pass--host--com]/ page: read [ scheme: 'http host: "host.com" user: "user" pass: "pass" ] Regards, Gabriele. -- Gabriele Santilli <[g--santilli--tiscalinet--it]> -- REBOL Programmer Amigan -- AGI L'Aquila -- REB: http://web.tiscali.it/rebol/index.r

Notes
  • Quoted lines have been omitted from some messages.
    View the message alone to see the lines that have been omitted