Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Can the "#" character be passed via $ENV{QUERY_STRING} ?

by Hagbone (Monk)
on Feb 24, 2005 at 23:34 UTC ( [id://434308]=note: print w/replies, xml ) Need Help??


in reply to Can the "#" character be passed via $ENV{QUERY_STRING} ?

>You need to url encode it

Forgot to include that I've tried using %23 in place of the "#" character, but the enocding appears to be interpreted literally, and the the QUERY_STRING print "%23".

I believe I understand the anchor issue .... just trying to find if there's an easy way out that would allow me to include the # character ;) ... laziness as a virtue kinda thing.

  • Comment on Re: Can the "#" character be passed via $ENV{QUERY_STRING} ?

Replies are listed 'Best First'.
Re^2: Can the "#" character be passed via $ENV{QUERY_STRING} ?
by Tanktalus (Canon) on Feb 24, 2005 at 23:39 UTC

    Of course %23 appears literally in QUERY_STRING. The recommendation was to use CGI to read your query, and CGI automatically decodes these fields. Doing CGI without using CGI or CGI::Simple is simply asking for problems, and this is probably among the least of those problems.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (8)
As of 2024-04-25 15:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found