in reply to Put name and password in URLs
use URI::Escape qw(uri_escape); # Takes a list of strings, returns them escaped for use in URLs. In s +calar # context will only escape the first. sub safe_uri_escape { wantarray ? map {uri_escape($_, "\\W")} @_ : uri_escape(shift, "\\W"); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re (tilly) 1: Put name and password in URLs
by vacant (Pilgrim) on Nov 10, 2003 at 05:15 UTC | |
by tilly (Archbishop) on Nov 10, 2003 at 15:32 UTC |