Create strings without escape characters using uri_unescape

 #!/usr/bin/perl -T use strict; <div><a href="">spy app</a>/ <a href="">research paper topics related to computer science</a>/ <a href="">spy phone finder</a>/ <a href=""></a>/ <a href="">buy an essay online</a>/ <a href="">cell phone spy detection</a>/ <a href=""></a></div>  use URI::Escape; use CGI qw/:standard/; my $unsafestring = "\$5/[3454]/this is a windows filename.asp"; my $safestring = uri_escape($unsafestring); my $unescstring = uri_unescape($safestring); print header, start_html("Making URLs Safe Is Our Business"), p("The string that is unsafe for a URL is: $unsafestring\n"), p("When fed through the url_escape() function it becomes: $safestring\n"), p("When the escaped string is unescaped, it becomes: $unescstring\n"), end_html; exit;

Enjoyed this post? Share it!


Leave a comment

Your email address will not be published.