http://www.perlmonks.org?node_id=924448

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Can someone help me get a string to work in a browser's ADDRESS bar when passed as a paramater?

My server allows me to do anything test.pl?param=adsasda&pasd=22222 however after thorough testing of some weird behavoir, it will NOT permit test.pl?param=http://www.test.com

I can get it to work as long as I remove the :. Anyone know why? Is there any easy way to encode my URL so other characters won't mess it up? I'll always call the script directly in the browser and call it through www::mechanize.

Ie: my $page = get("http://test.com/cgi-bin/script.pl?params_here....");