Jorge Bastos wrote:
Chris,
I was doing some tests to see the value that is passed by the %s variable,
and the value that goes to the output is:

---
http://195.23.114.74/inicial.php?url=http%3A%2F%2F195.23.114.74%2Finicial.ph
p%3Furl%3Dhttp%253A%252F%252F195.23.114.74%252Finicial.php%253Furl%253Dhttp%
25253A%25252F%25252F195.23.114.74%25252Finicial.php%25253Furl%25253Dhttp%252
5253A%2525252F%2525252Fhotmail.com%2525252F
---
deny_info http://195.23.114.74/inicial.php?url=%s session
---

The code inside inicial.php is:

<?php
echo $_GET["url"];
?>

Shouldn't I get the clean value of the site I've entered first,
"http://hotmail.com"; ?


Try this:

  echo rawurldecode($_GET['url']);


Its a little weird that the redirect URL is being added as the sub-URI.
Are you sure your http_access are permitting access to the splash URI before checking the session handler?

Amos
--
Please be using
  Current Stable Squid 2.7.STABLE6 or 3.0.STABLE13
  Current Beta Squid 3.1.0.6

Reply via email to