mirror of
https://github.com/ezyang/htmlpurifier.git
synced 2024-12-23 08:51:53 +00:00
10 lines
330 B
Plaintext
10 lines
330 B
Plaintext
|
--INI--
|
||
|
URI.Munge = "/redirect.php?url=%s&check=%t"
|
||
|
URI.MungeSecretKey = "foo"
|
||
|
--HTML--
|
||
|
<a href="http://localhost">foo</a>
|
||
|
<img src="http://localhost" alt="local" />
|
||
|
--EXPECT--
|
||
|
<a href="/redirect.php?url=http%3A%2F%2Flocalhost&check=8e8223ae8fac24561104180ea549c21fbd111be7">foo</a>
|
||
|
<img src="http://localhost" alt="local" />
|