2023-04-25 13:12:50 +02:00

13 lines
441 B
Plaintext
Executable File

--SKIPIF--
return !function_exists('hash_hmac');
--INI--
URI.Munge = "/redirect.php?url=%s&check=%t"
URI.MungeSecretKey = "foo"
--HTML--
<a href="https://localhost">foo</a>
<img src="https://localhost" alt="local" />
--EXPECT--
<a href="/redirect.php?url=http%3A%2F%2Flocalhost&amp;check=c0efad89696082f5cb925d28636b0f4260f346391c92c70c8e9eba72591c2a73">foo</a>
<img src="https://localhost" alt="local" />
--# vim: et sw=4 sts=4