Änderungen https Andy Müller rückgängig gemacht

This commit is contained in:
aschwarz
2023-04-26 13:57:39 +02:00
parent da1f2a6c82
commit 088389f080
508 changed files with 2763 additions and 2763 deletions

View File

@ -1,14 +1,14 @@
--INI--
HTML.SafeIframe = true
URI.SafeIframeRegexp = "%(^https://www.example.com/|^https?://dev.example.com/)%"
URI.SafeIframeRegexp = "%(^http://www.example.com/|^https?://dev.example.com/)%"
--HTML--
<iframe src="https://www.example.com/"></iframe>
<iframe src="https://malicious.host.com/?https://www.example.com/"></iframe>
<iframe src="https://dev.example.com/"></iframe>
<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="https://www.example.com/"></iframe>
<iframe src="http://www.example.com/"></iframe>
<iframe></iframe>
<iframe src="https://dev.example.com/"></iframe>
<iframe src="http://dev.example.com/"></iframe>
<iframe src="https://dev.example.com/"></iframe>
--# vim: et sw=4 sts=4