Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid

Re: URL white space issues

by 2teez (Priest)
on Sep 28, 2012 at 15:32 UTC ( #996243=note: print w/ replies, xml ) Need Help??

in reply to URL white space issues

There are two modules you might like to check.

Using URI::Escape, you can get back, your original URL, like so:
use warnings; use strict; use URI::Escape; my $url = " due + to %20"; my $uri = uri_unescape($url); print $uri; # dex.cgi?action=vi ew due + to
But really, I will advice, you seriously consider sierpinski's wisdom on this issue.
Hope this helps

If you tell me, I'll forget.
If you show me, I'll remember.
if you involve me, I'll understand.
--- Author unknown to me

Comment on Re: URL white space issues
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (8)
As of 2015-11-27 09:18 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (722 votes), past polls