Fix two minor bugs, updating Phorum and removing unused $dir variable.
[htmlpurifier/darkodev.git] / tests / HTMLPurifier / HTMLT / secure-munge.htmlt
blob114cb0000eeca7960f221e7d196f4b576f0bb3b5
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