Conditionalize hash_hmac tests for 5.0
[htmlpurifier.git] / tests / HTMLPurifier / HTMLT / safe-object-embed-munge.htmlt
blobe30edc37a24f807d4dd7b5523f37c08e1c5f0d89
1 --SKIPIF--
2 return !function_exists('hash_hmac');
3 --INI--
4 HTML.SafeObject = true
5 HTML.SafeEmbed = true
6 URI.Munge = "/redirect.php?url=%s&check=%t"
7 URI.MungeSecretKey = "foo"
8 --HTML--
9 <object width="425" height="344"><param name="movie" value="http://www.youtube.com/v/Oq3FV_zdyy0&hl=en"></param><embed src="http://www.youtube.com/v/Oq3FV_zdyy0&hl=en" type="application/x-shockwave-flash" width="425" height="344"></embed></object>
10 --EXPECT--
11 <object width="425" height="344" data="http://www.youtube.com/v/Oq3FV_zdyy0&amp;hl=en" type="application/x-shockwave-flash"><param name="allowScriptAccess" value="never" /><param name="allowNetworking" value="internal" /><param name="movie" value="http://www.youtube.com/v/Oq3FV_zdyy0&amp;hl=en" /><embed src="http://www.youtube.com/v/Oq3FV_zdyy0&amp;hl=en" type="application/x-shockwave-flash" width="425" height="344" allowscriptaccess="never" allownetworking="internal" /></object>
12 --# vim: et sw=4 sts=4