Test: /ext/standard/tests/general_functions/output_add_rewrite_var_basic1.phpt - Version 7.2.19-dev    

There are 2 different diffs reported by users for this test.

Count Diff
1 (50%)
016+
017+ Warning: session_start(): open(/tmp/sess_testid, O_RDWR) failed: Permission denied (13) in %s/output_add_rewrite_var_basic1.php on line 30
018+
019+ Warning: session_start(): Failed to read session data: files (path: ) in %s/output_add_rewrite_var_basic1.php on line 30
032- <a href="?PHPSESSID=testid&%3CNAME%3E=%3CVALUE%3E"> </a>
033- <a href="./foo.php?PHPSESSID=testid&%3CNAME%3E=%3CVALUE%3E"> </a>
034- <a href="//php.net/foo.php?PHPSESSID=testid&%3CNAME%3E=%3CVALUE%3E"> </a>
035- <a href="http://php.net/foo.php?PHPSESSID=testid&%3CNAME%3E=%3CVALUE%3E"> </a>
036- <a href="bad://php.net/foo.php"> </a>
037- <a href="//www.php.net/foo.php?PHPSESSID=testid&%3CNAME%3E=%3CVALUE%3E"> </a>
036+ <a href="?PHPSESSID=68f564f3ef6946e13e64775f13774aaf&%3CNAME%3E=%3CVALUE%3E"> </a>
037+ <a href="./foo.php?PHPSESSID=68f564f3ef6946e13e64775f13774aaf&%3CNAME%3E=%3CVALUE%3E"> </a>
038+ <a href="//php.net/foo.php?PHPSESSID=68f564f3ef6946e13e64775f13774aaf&%3CNAME%3E=%3CVALUE%3E"> </a>
039+ <a href="http://php.net/foo.php?PHPSESSID=68f564f3ef6946e13e64775f13774aaf&%3CNAME%3E=%3CVALUE%3E"> </a>
040+ <a href="bad://php.net/foo.php"> </a>
041+ <a href="//www.php.net/foo.php?PHPSESSID=68f564f3ef6946e13e64775f13774aaf&%3CNAME%3E=%3CVALUE%3E"> </a>
039- <form method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="testid" /> </form>
040- <form action="./foo.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="testid" /> </form>
041- <form action="//php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="testid" /> </form>
042- <form action="http://php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="testid" /> </form>
043+ <form method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="68f564f3ef6946e13e64775f13774aaf" /> </form>
044+ <form action="./foo.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="68f564f3ef6946e13e64775f13774aaf" /> </form>
045+ <form action="//php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="68f564f3ef6946e13e64775f13774aaf" /> </form>
046+ <form action="http://php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="68f564f3ef6946e13e64775f13774aaf" /> </form>
044- <form action="//www.php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="testid" /> </form>
048+ <form action="//www.php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="68f564f3ef6946e13e64775f13774aaf" /> </form>
1 (50%)
016+
017+ Warning: session_start(): open(/tmp/sess_testid, O_RDWR) failed: Permission denied (13) in %s/output_add_rewrite_var_basic1.php on line 30
018+
019+ Warning: session_start(): Failed to read session data: files (path: ) in %s/output_add_rewrite_var_basic1.php on line 30
032- <a href="?PHPSESSID=testid&%3CNAME%3E=%3CVALUE%3E"> </a>
033- <a href="./foo.php?PHPSESSID=testid&%3CNAME%3E=%3CVALUE%3E"> </a>
034- <a href="//php.net/foo.php?PHPSESSID=testid&%3CNAME%3E=%3CVALUE%3E"> </a>
035- <a href="http://php.net/foo.php?PHPSESSID=testid&%3CNAME%3E=%3CVALUE%3E"> </a>
036- <a href="bad://php.net/foo.php"> </a>
037- <a href="//www.php.net/foo.php?PHPSESSID=testid&%3CNAME%3E=%3CVALUE%3E"> </a>
036+ <a href="?PHPSESSID=c13e67424cae1970c47d908927357fc8&%3CNAME%3E=%3CVALUE%3E"> </a>
037+ <a href="./foo.php?PHPSESSID=c13e67424cae1970c47d908927357fc8&%3CNAME%3E=%3CVALUE%3E"> </a>
038+ <a href="//php.net/foo.php?PHPSESSID=c13e67424cae1970c47d908927357fc8&%3CNAME%3E=%3CVALUE%3E"> </a>
039+ <a href="http://php.net/foo.php?PHPSESSID=c13e67424cae1970c47d908927357fc8&%3CNAME%3E=%3CVALUE%3E"> </a>
040+ <a href="bad://php.net/foo.php"> </a>
041+ <a href="//www.php.net/foo.php?PHPSESSID=c13e67424cae1970c47d908927357fc8&%3CNAME%3E=%3CVALUE%3E"> </a>
039- <form method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="testid" /> </form>
040- <form action="./foo.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="testid" /> </form>
041- <form action="//php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="testid" /> </form>
042- <form action="http://php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="testid" /> </form>
043+ <form method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="c13e67424cae1970c47d908927357fc8" /> </form>
044+ <form action="./foo.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="c13e67424cae1970c47d908927357fc8" /> </form>
045+ <form action="//php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="c13e67424cae1970c47d908927357fc8" /> </form>
046+ <form action="http://php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="c13e67424cae1970c47d908927357fc8" /> </form>
044- <form action="//www.php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="testid" /> </form>
048+ <form action="//www.php.net/bar.php" method="get"><input type="hidden" name="&lt;NAME&gt;" value="&lt;VALUE&gt;" /><input type="hidden" name="PHPSESSID" value="c13e67424cae1970c47d908927357fc8" /> </form>