You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- --INI--
- HTML.SafeIframe = true
- URI.SafeIframeRegexp = "%(^http://www.example.com/|^https?://dev.example.com/)%"
- --HTML--
- <iframe src="http://www.example.com/"></iframe>
- <iframe src="http://malicious.host.com/?http://www.example.com/"></iframe>
- <iframe src="http://dev.example.com/"></iframe>
- <iframe src="https://dev.example.com/"></iframe>
- --EXPECT--
- <iframe src="http://www.example.com/"></iframe>
- <iframe></iframe>
- <iframe src="http://dev.example.com/"></iframe>
- <iframe src="https://dev.example.com/"></iframe>
- --# vim: et sw=4 sts=4
|