Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: Escape user name and password in LWP proxy call.

by Anonymous Monk
on Oct 14, 2021 at 16:21 UTC ( [id://11137517]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Escape user name and password in LWP proxy call.
in thread Escape user name and password in LWP proxy call.

UPDATE: uri_escape, doesn't seem escaping (\) in username.

  • Comment on Re^3: Escape user name and password in LWP proxy call.

Replies are listed 'Best First'.
Re^4: Escape user name and password in LWP proxy call.
by hippo (Bishop) on Oct 14, 2021 at 16:27 UTC

    Sure it is:

    use strict; use warnings; use URI::Escape; use Test::More tests => 2; my $foo = 'a\b'; my $have = uri_escape ($foo); my $want = 'a%5Cb'; isnt $have, $foo; is $have, $want;

    🦛

A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11137517]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-20 03:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found