secure-munge.htmlt 353 B

12345678910
  1. --INI--
  2. URI.Munge = "/redirect.php?url=%s&check=%t"
  3. URI.MungeSecretKey = "foo"
  4. --HTML--
  5. <a href="http://localhost">foo</a>
  6. <img src="http://localhost" alt="local" />
  7. --EXPECT--
  8. <a href="/redirect.php?url=http%3A%2F%2Flocalhost&amp;check=8e8223ae8fac24561104180ea549c21fbd111be7">foo</a>
  9. <img src="http://localhost" alt="local" />
  10. --# vim: et sw=4 sts=4