Test: /ext/session/tests/session_basic5.phpt - Version 7.2.19-dev    

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

Count Diff
1 (50%)
004+ Warning: session_start(): open(/tmp/sess_testid, O_RDWR) failed: Permission denied (13) in %s/session_basic5.php on line 18
005+
006+ Warning: session_start(): Failed to read session data: files (path: ) in %s/session_basic5.php on line 18
004- <a href="/?PHPSESSID=testid">test</a>
005- <a href="/path?PHPSESSID=testid">test</a>
006- <a href="/path/?PHPSESSID=testid">test</a>
007- <a href="/path/?foo=var&PHPSESSID=testid">test</a>
008- <a href="../?PHPSESSID=testid">test</a>
009- <a href="../path?PHPSESSID=testid">test</a>
010- <a href="../path/?PHPSESSID=testid">test</a>
011- <a href="../path/?foo=var&PHPSESSID=testid">test</a>
008+ <a href="/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
009+ <a href="/path?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
010+ <a href="/path/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
011+ <a href="/path/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
012+ <a href="../?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
013+ <a href="../path?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
014+ <a href="../path/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
015+ <a href="../path/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
016+
017+ <a href="/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
018+ <a href="/path/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
019+ <a href="/path/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
020+ <a href="../?PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
021+ <a href="../path/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
022+ <a href="../path/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
013- <a href="/?PHPSESSID=testid#bar">test</a>
014- <a href="/path/?PHPSESSID=testid#bar">test</a>
015- <a href="/path/?foo=var&PHPSESSID=testid#bar">test</a>
016- <a href="../?PHPSESSID=testid#bar">test</a>
017- <a href="../path/?PHPSESSID=testid#bar">test</a>
018- <a href="../path/?foo=var&PHPSESSID=testid#bar">test</a>
020- <a href="/?foo&PHPSESSID=testid">test</a>
021- <a href="/?foo&PHPSESSID=testid#bar">test</a>
022- <a href="/?foo=var&PHPSESSID=testid">test</a>
023- <a href="/?foo=var&PHPSESSID=testid#bar">test</a>
024- <a href="../?foo&PHPSESSID=testid">test</a>
025- <a href="../?foo&PHPSESSID=testid#bar">test</a>
026- <a href="../?foo=var&PHPSESSID=testid">test</a>
027- <a href="../?foo=var&PHPSESSID=testid#bar">test</a>
024+ <a href="/?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
025+ <a href="/?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
026+ <a href="/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
027+ <a href="/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
028+ <a href="../?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
029+ <a href="../?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
030+ <a href="../?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
031+ <a href="../?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
029- <a href="file.php?PHPSESSID=testid">test</a>
030- <a href="file.php?foo&PHPSESSID=testid">test</a>
031- <a href="file.php?foo=var&PHPSESSID=testid">test</a>
032- <a href="file.php?foo=var&PHPSESSID=testid#bar">test</a>
033- <a href="../file.php?PHPSESSID=testid">test</a>
034- <a href="../file.php?foo&PHPSESSID=testid">test</a>
035- <a href="../file.php?foo=var&PHPSESSID=testid">test</a>
036- <a href="../file.php?foo=var&PHPSESSID=testid#bar">test</a>
033+ <a href="file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
034+ <a href="file.php?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
035+ <a href="file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
036+ <a href="file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
037+ <a href="../file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
038+ <a href="../file.php?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
039+ <a href="../file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
040+ <a href="../file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
038- <a href="http://php.net/?PHPSESSID=testid">test</a>
039- <a href="http://php.net/?PHPSESSID=testid">test</a>
040- <a href="http://php.net/?PHPSESSID=testid#bar">test</a>
041- <a href="http://php.net/?foo&PHPSESSID=testid">test</a>
042- <a href="http://php.net/?foo&PHPSESSID=testid#bar">test</a>
043- <a href="http://php.net/?foo=var&PHPSESSID=testid">test</a>
044- <a href="http://php.net/?foo=var&PHPSESSID=testid#bar">test</a>
045- <a href="http://php.net/file.php?PHPSESSID=testid">test</a>
046- <a href="http://php.net/file.php?PHPSESSID=testid#bar">test</a>
047- <a href="http://php.net/file.php?foo&PHPSESSID=testid">test</a>
048- <a href="http://php.net/file.php?foo&PHPSESSID=testid#bar">test</a>
049- <a href="http://php.net/file.php?foo=var&PHPSESSID=testid">test</a>
050- <a href="http://php.net/file.php?foo=var&PHPSESSID=testid#bar">test</a>
051- <a href="http://php.net/some/path/file.php?PHPSESSID=testid">test</a>
052- <a href="http://php.net/some/path/file.php?foo&PHPSESSID=testid">test</a>
053- <a href="http://php.net/some/path/file.php?foo=var&PHPSESSID=testid">test</a>
054- <a href="http://php.net/some/path/file.php?foo=var&PHPSESSID=testid#bar">test</a>
042+ <a href="http://php.net/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
043+ <a href="http://php.net/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
044+ <a href="http://php.net/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
045+ <a href="http://php.net/?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
046+ <a href="http://php.net/?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
047+ <a href="http://php.net/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
048+ <a href="http://php.net/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
049+ <a href="http://php.net/file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
050+ <a href="http://php.net/file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
051+ <a href="http://php.net/file.php?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
052+ <a href="http://php.net/file.php?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
053+ <a href="http://php.net/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
054+ <a href="http://php.net/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
055+ <a href="http://php.net/some/path/file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
056+ <a href="http://php.net/some/path/file.php?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
057+ <a href="http://php.net/some/path/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
058+ <a href="http://php.net/some/path/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
056- <a href="https://php.net/?PHPSESSID=testid">test</a>
057- <a href="https://php.net/?PHPSESSID=testid">test</a>
058- <a href="https://php.net/?foo=var&PHPSESSID=testid#bar">test</a>
059- <a href="https://php.net/file.php?PHPSESSID=testid">test</a>
060- <a href="https://php.net/file.php?foo=var&PHPSESSID=testid#bar">test</a>
061- <a href="https://php.net/some/path/file.php?PHPSESSID=testid">test</a>
062- <a href="https://php.net/some/path/file.php?foo=var&PHPSESSID=testid#bar">test</a>
063- <a href="https://php.net:8443/?PHPSESSID=testid">test</a>
064- <a href="https://php.net:8443/?PHPSESSID=testid">test</a>
065- <a href="https://php.net:8443/?foo=var&PHPSESSID=testid#bar">test</a>
066- <a href="https://php.net:8443/file.php?PHPSESSID=testid">test</a>
067- <a href="https://php.net:8443/file.php?foo=var&PHPSESSID=testid#bar">test</a>
068- <a href="https://php.net:8443/some/path/file.php?PHPSESSID=testid">test</a>
069- <a href="https://php.net:8443/some/path/file.php?foo=var&PHPSESSID=testid#bar">test</a>
060+ <a href="https://php.net/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
061+ <a href="https://php.net/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
062+ <a href="https://php.net/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
063+ <a href="https://php.net/file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
064+ <a href="https://php.net/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
065+ <a href="https://php.net/some/path/file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
066+ <a href="https://php.net/some/path/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
067+ <a href="https://php.net:8443/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
068+ <a href="https://php.net:8443/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
069+ <a href="https://php.net:8443/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
070+ <a href="https://php.net:8443/file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
071+ <a href="https://php.net:8443/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
072+ <a href="https://php.net:8443/some/path/file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
073+ <a href="https://php.net:8443/some/path/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
071- <a href="//php.net/?PHPSESSID=testid">test</a>
072- <a href="//php.net/?PHPSESSID=testid">test</a>
073- <a href="//php.net/?PHPSESSID=testid#bar">test</a>
074- <a href="//php.net/?foo&PHPSESSID=testid">test</a>
075- <a href="//php.net/?foo&PHPSESSID=testid#bar">test</a>
076- <a href="//php.net/?foo=var&PHPSESSID=testid">test</a>
077- <a href="//php.net/?foo=var&PHPSESSID=testid#bar">test</a>
078- <a href="//php.net/file.php?PHPSESSID=testid">test</a>
079- <a href="//php.net/file.php?PHPSESSID=testid#bar">test</a>
080- <a href="//php.net/file.php?foo&PHPSESSID=testid">test</a>
081- <a href="//php.net/file.php?foo&PHPSESSID=testid#bar">test</a>
082- <a href="//php.net/file.php?foo=var&PHPSESSID=testid">test</a>
083- <a href="//php.net/file.php?foo=var&PHPSESSID=testid#bar">test</a>
084- <a href="//php.net/some/path/file.php?PHPSESSID=testid">test</a>
085- <a href="//php.net/some/path/file.php?foo&PHPSESSID=testid">test</a>
086- <a href="//php.net/some/path/file.php?foo=var&PHPSESSID=testid">test</a>
087- <a href="//php.net/some/path/file.php?foo=var&PHPSESSID=testid#bar">test</a>
088-
089- <form action="script.php" method="post"><input type="hidden" name="PHPSESSID" value="testid" />
075+ <a href="//php.net/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
076+ <a href="//php.net/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
077+ <a href="//php.net/?PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
078+ <a href="//php.net/?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
079+ <a href="//php.net/?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
080+ <a href="//php.net/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
081+ <a href="//php.net/?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
082+ <a href="//php.net/file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
083+ <a href="//php.net/file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
084+ <a href="//php.net/file.php?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
085+ <a href="//php.net/file.php?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
086+ <a href="//php.net/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
087+ <a href="//php.net/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
088+ <a href="//php.net/some/path/file.php?PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
089+ <a href="//php.net/some/path/file.php?foo&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
090+ <a href="//php.net/some/path/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1">test</a>
091+ <a href="//php.net/some/path/file.php?foo=var&PHPSESSID=db055ceb1ceaf891400a75f544947bc1#bar">test</a>
092+
093+ <form action="script.php" method="post"><input type="hidden" name="PHPSESSID" value="db055ceb1ceaf891400a75f544947bc1" />
094+ <input type="text" name="test1"></input>
095+ <input type="text" name="test2" />
096+ </form>
097+ <form action="../script.php" method="post"><input type="hidden" name="PHPSESSID" value="db055ceb1ceaf891400a75f544947bc1" />r
098+ <input type="text" name="test1"></input>
099+ <input type="text" name="test2" />
100+ </form>
101+ <form action="/path/script.php" method="post"><input type="hidden" name="PHPSESSID" value="db055ceb1ceaf891400a75f544947bc1" />
102+ <input type="text" name="test1"></input>
103+ <input type="text" name="test2" />
104+ </form>
105+ <form action="../path/script.php" method="post"><input type="hidden" name="PHPSESSID" value="db055ceb1ceaf891400a75f544947bc1" />
106+ <input type="text" name="test1"></input>
107+ <input type="text" name="test2" />
108+ </form>
109+ <form method="post" action="http://php.net/script.php"><input type="hidden" name="PHPSESSID" value="db055ceb1ceaf891400a75f544947bc1" />
110+ <input type="text" name="test1"></input>
111+ <input type="text" name="test2" />
112+ </form>
113+ <form method="post" action="https://php.net/script.php"><input type="hidden" name="PHPSESSID" value="db055ceb1ceaf891400a75f544947bc1" />
114+ <input type="text" name="test1"></input>
115+ <input type="text" name="test2" />
116+ </form>
117+ <form method="post" action="//php.net/script.php"><input type="hidden" name="PHPSESSID" value="db055ceb1ceaf891400a75f544947bc1" />
093- <form action="../script.php" method="post"><input type="hidden" name="PHPSESSID" value="testid" />r
094- <input type="text" name="test1"></input>
095- <input type="text" name="test2" />
096- </form>
097- <form action="/path/script.php" method="post"><input type="hidden" name="PHPSESSID" value="testid" />
098- <input type="text" name="test1"></input>
099- <input type="text" name="test2" />
100- </form>
101- <form action="../path/script.php" method="post"><input type="hidden" name="PHPSESSID" value="testid" />
102- <input type="text" name="test1"></input>
103- <input type="text" name="test2" />
104- </form>
105- <form method="post" action="http://php.net/script.php"><input type="hidden" name="PHPSESSID" value="testid" />
106- <input type="text" name="test1"></input>
107- <input type="text" name="test2" />
108- </form>
109- <form method="post" action="https://php.net/script.php"><input type="hidden" name="PHPSESSID" value="testid" />
110- <input type="text" name="test1"></input>
111- <input type="text" name="test2" />
112- </form>
113- <form method="post" action="//php.net/script.php"><input type="hidden" name="PHPSESSID" value="testid" />
114- <input type="text" name="test1"></input>
115- <input type="text" name="test2" />
116- </form>
118-
119- <a href="http://bad.com">test</a>
120- <a href="http://bad.com/">test</a>
121- <a href="http://bad.com/#bar">test</a>
122- <a href="http://bad.com/?foo">test</a>
123- <a href="http://bad.com/?foo#bar">test</a>
124- <a href="http://bad.com/?foo=var">test</a>
125- <a href="http://bad.com/?foo=var#bar">test</a>
126- <a href="http://bad.com/file.php">test</a>
127- <a href="http://bad.com/file.php#bar">test</a>
128- <a href="http://bad.com/file.php?foo">test</a>
129- <a href="http://bad.com/file.php?foo#bar">test</a>
130- <a href="http://bad.com/file.php?foo=var">test</a>
131- <a href="http://bad.com/file.php?foo=var#bar">test</a>
132- <a href="http://bad.com/some/path/file.php">test</a>
133- <a href="http://bad.com/some/path/file.php?foo">test</a>
134- <a href="http://bad.com/some/path/file.php?foo=var">test</a>
135- <a href="http://bad.com/some/path/file.php?foo=var#bar">test</a>
121+
122+
123+ <a href="http://bad.com">test</a>
124+ <a href="http://bad.com/">test</a>
125+ <a href="http://bad.com/#bar">test</a>
126+ <a href="http://bad.com/?foo">test</a>
127+ <a href="http://bad.com/?foo#bar">test</a>
128+ <a href="http://bad.com/?foo=var">test</a>
129+ <a href="http://bad.com/?foo=var#bar">test</a>
130+ <a href="http://bad.com/file.php">test</a>
131+ <a href="http://bad.com/file.php#bar">test</a>
132+ <a href="http://bad.com/file.php?foo">test</a>
133+ <a href="http://bad.com/file.php?foo#bar">test</a>
134+ <a href="http://bad.com/file.php?foo=var">test</a>
135+ <a href="http://bad.com/file.php?foo=var#bar">test</a>
136+ <a href="http://bad.com/some/path/file.php">test</a>
137+ <a href="http://bad.com/some/path/file.php?foo">test</a>
138+ <a href="http://bad.com/some/path/file.php?foo=var">test</a>
139+ <a href="http://bad.com/some/path/file.php?foo=var#bar">test</a>
137- <a href="https://bad.com">test</a>
138- <a href="https://bad.com/">test</a>
139- <a href="https://bad.com/?foo=var#bar">test</a>
140- <a href="https://bad.com/file.php">test</a>
141- <a href="https://bad.com/file.php?foo=var#bar">test</a>
142- <a href="https://bad.com/some/path/file.php">test</a>
143- <a href="https://bad.com/some/path/file.php?foo=var#bar">test</a>
144- <a href="https://bad.com:8443">test</a>
145- <a href="https://bad.com:8443/">test</a>
146- <a href="https://bad.com:8443/?foo=var#bar">test</a>
147- <a href="https://bad.com:8443/file.php">test</a>
148- <a href="https://bad.com:8443/file.php?foo=var#bar">test</a>
149- <a href="https://bad.com:8443/some/path/file.php">test</a>
150- <a href="https://bad.com:8443/some/path/file.php?foo=var#bar">test</a>
141+ <a href="https://bad.com">test</a>
142+ <a href="https://bad.com/">test</a>
143+ <a href="https://bad.com/?foo=var#bar">test</a>
144+ <a href="https://bad.com/file.php">test</a>
145+ <a href="https://bad.com/file.php?foo=var#bar">test</a>
146+ <a href="https://bad.com/some/path/file.php">test</a>
147+ <a href="https://bad.com/some/path/file.php?foo=var#bar">test</a>
148+ <a href="https://bad.com:8443">test</a>
149+ <a href="https://bad.com:8443/">test</a>
150+ <a href="https://bad.com:8443/?foo=var#bar">test</a>
151+ <a href="https://bad.com:8443/file.php">test</a>
152+ <a href="https://bad.com:8443/file.php?foo=var#bar">test</a>
153+ <a href="https://bad.com:8443/some/path/file.php">test</a>
154+ <a href="https://bad.com:8443/some/path/file.php?foo=var#bar">test</a>
152- <a href="//bad.com">test</a>
153- <a href="//bad.com/">test</a>
154- <a href="//bad.com/#bar">test</a>
155- <a href="//bad.com/?foo">test</a>
156- <a href="//bad.com/?foo#bar">test</a>
157- <a href="//bad.com/?foo=var">test</a>
158- <a href="//bad.com/?foo=var#bar">test</a>
159- <a href="//bad.com/file.php">test</a>
160- <a href="//bad.com/file.php#bar">test</a>
161- <a href="//bad.com/file.php?foo">test</a>
162- <a href="//bad.com/file.php?foo#bar">test</a>
163- <a href="//bad.com/file.php?foo=var">test</a>
164- <a href="//bad.com/file.php?foo=var#bar">test</a>
165- <a href="//bad.com/some/path/file.php">test</a>
166- <a href="//bad.com/some/path/file.php?foo">test</a>
167- <a href="//bad.com/some/path/file.php?foo=var">test</a>
168- <a href="//bad.com/some/path/file.php?foo=var#bar">test</a>
169-
170- <form action="//bad.com/script.php" method="post">
156+ <a href="//bad.com">test</a>
157+ <a href="//bad.com/">test</a>
158+ <a href="//bad.com/#bar">test</a>
159+ <a href="//bad.com/?foo">test</a>
160+ <a href="//bad.com/?foo#bar">test</a>
161+ <a href="//bad.com/?foo=var">test</a>
162+ <a href="//bad.com/?foo=var#bar">test</a>
163+ <a href="//bad.com/file.php">test</a>
164+ <a href="//bad.com/file.php#bar">test</a>
165+ <a href="//bad.com/file.php?foo">test</a>
166+ <a href="//bad.com/file.php?foo#bar">test</a>
167+ <a href="//bad.com/file.php?foo=var">test</a>
168+ <a href="//bad.com/file.php?foo=var#bar">test</a>
169+ <a href="//bad.com/some/path/file.php">test</a>
170+ <a href="//bad.com/some/path/file.php?foo">test</a>
171+ <a href="//bad.com/some/path/file.php?foo=var">test</a>
172+ <a href="//bad.com/some/path/file.php?foo=var#bar">test</a>
174+ <form action="//bad.com/script.php" method="post">
175+ <input type="text" name="test1"></input>
176+ <input type="text" name="test2" />
177+ </form>
178+ <form action="https://bad.com/foo/../script.php" method="post">
179+ <input type="text" name="test1"></input>
180+ <input type="text" name="test2" />
181+ </form>
182+ <form action="https://bad.com//path/script.php" method="post">
183+ <input type="text" name="test1"></input>
184+ <input type="text" name="test2" />
185+ </form>
186+ <form action="https://bad.com/foo/bar../path/script.php" method="post">
187+ <input type="text" name="test1"></input>
188+ <input type="text" name="test2" />
189+ </form>
190+ <form method="post" action="http://bad.com/script.php">
191+ <input type="text" name="test1"></input>
192+ <input type="text" name="test2" />
193+ </form>
194+ <form method="post" action="https://bad.com/script.php">
195+ <input type="text" name="test1"></input>
196+ <input type="text" name="test2" />
197+ </form>
198+ <form method="post" action="//bad.com/script.php">
174- <form action="https://bad.com/foo/../script.php" method="post">
175- <input type="text" name="test1"></input>
176- <input type="text" name="test2" />
177- </form>
178- <form action="https://bad.com//path/script.php" method="post">
179- <input type="text" name="test1"></input>
202+
203+ bool(false)
204+ *** Cleanup ***
205+ bool(true)
206+ string(32) "db055ceb1ceaf891400a75f544947bc1"
207+ bool(true)
180- <input type="text" name="test2" />
181- </form>
182- <form action="https://bad.com/foo/bar../path/script.php" method="post">
183- <input type="text" name="test1"></input>
184- <input type="text" name="test2" />
185- </form>
186- <form method="post" action="http://bad.com/script.php">
187- <input type="text" name="test1"></input>
188- <input type="text" name="test2" />
189- </form>
190- <form method="post" action="https://bad.com/script.php">
191- <input type="text" name="test1"></input>
192- <input type="text" name="test2" />
193- </form>
194- <form method="post" action="//bad.com/script.php">
195- <input type="text" name="test1"></input>
196- <input type="text" name="test2" />
197- </form>
198-
199- bool(true)
200- *** Cleanup ***
201- bool(true)
202- string(6) "testid"
203- bool(true)
1 (50%)
004+ Warning: session_start(): open(/tmp/sess_testid, O_RDWR) failed: Permission denied (13) in %s/session_basic5.php on line 18
005+
006+ Warning: session_start(): Failed to read session data: files (path: ) in %s/session_basic5.php on line 18
004- <a href="/?PHPSESSID=testid">test</a>
005- <a href="/path?PHPSESSID=testid">test</a>
006- <a href="/path/?PHPSESSID=testid">test</a>
007- <a href="/path/?foo=var&PHPSESSID=testid">test</a>
008- <a href="../?PHPSESSID=testid">test</a>
009- <a href="../path?PHPSESSID=testid">test</a>
010- <a href="../path/?PHPSESSID=testid">test</a>
011- <a href="../path/?foo=var&PHPSESSID=testid">test</a>
008+ <a href="/?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
009+ <a href="/path?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
010+ <a href="/path/?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
011+ <a href="/path/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
012+ <a href="../?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
013+ <a href="../path?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
014+ <a href="../path/?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
015+ <a href="../path/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
016+
017+ <a href="/?PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
018+ <a href="/path/?PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
019+ <a href="/path/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
020+ <a href="../?PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
021+ <a href="../path/?PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
022+ <a href="../path/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
013- <a href="/?PHPSESSID=testid#bar">test</a>
014- <a href="/path/?PHPSESSID=testid#bar">test</a>
015- <a href="/path/?foo=var&PHPSESSID=testid#bar">test</a>
016- <a href="../?PHPSESSID=testid#bar">test</a>
017- <a href="../path/?PHPSESSID=testid#bar">test</a>
018- <a href="../path/?foo=var&PHPSESSID=testid#bar">test</a>
020- <a href="/?foo&PHPSESSID=testid">test</a>
021- <a href="/?foo&PHPSESSID=testid#bar">test</a>
022- <a href="/?foo=var&PHPSESSID=testid">test</a>
023- <a href="/?foo=var&PHPSESSID=testid#bar">test</a>
024- <a href="../?foo&PHPSESSID=testid">test</a>
025- <a href="../?foo&PHPSESSID=testid#bar">test</a>
026- <a href="../?foo=var&PHPSESSID=testid">test</a>
027- <a href="../?foo=var&PHPSESSID=testid#bar">test</a>
024+ <a href="/?foo&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
025+ <a href="/?foo&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
026+ <a href="/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
027+ <a href="/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
028+ <a href="../?foo&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
029+ <a href="../?foo&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
030+ <a href="../?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
031+ <a href="../?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
029- <a href="file.php?PHPSESSID=testid">test</a>
030- <a href="file.php?foo&PHPSESSID=testid">test</a>
031- <a href="file.php?foo=var&PHPSESSID=testid">test</a>
032- <a href="file.php?foo=var&PHPSESSID=testid#bar">test</a>
033- <a href="../file.php?PHPSESSID=testid">test</a>
034- <a href="../file.php?foo&PHPSESSID=testid">test</a>
035- <a href="../file.php?foo=var&PHPSESSID=testid">test</a>
036- <a href="../file.php?foo=var&PHPSESSID=testid#bar">test</a>
033+ <a href="file.php?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
034+ <a href="file.php?foo&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
035+ <a href="file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
036+ <a href="file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
037+ <a href="../file.php?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
038+ <a href="../file.php?foo&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
039+ <a href="../file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
040+ <a href="../file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
038- <a href="http://php.net/?PHPSESSID=testid">test</a>
039- <a href="http://php.net/?PHPSESSID=testid">test</a>
040- <a href="http://php.net/?PHPSESSID=testid#bar">test</a>
041- <a href="http://php.net/?foo&PHPSESSID=testid">test</a>
042- <a href="http://php.net/?foo&PHPSESSID=testid#bar">test</a>
043- <a href="http://php.net/?foo=var&PHPSESSID=testid">test</a>
044- <a href="http://php.net/?foo=var&PHPSESSID=testid#bar">test</a>
045- <a href="http://php.net/file.php?PHPSESSID=testid">test</a>
046- <a href="http://php.net/file.php?PHPSESSID=testid#bar">test</a>
047- <a href="http://php.net/file.php?foo&PHPSESSID=testid">test</a>
048- <a href="http://php.net/file.php?foo&PHPSESSID=testid#bar">test</a>
049- <a href="http://php.net/file.php?foo=var&PHPSESSID=testid">test</a>
050- <a href="http://php.net/file.php?foo=var&PHPSESSID=testid#bar">test</a>
051- <a href="http://php.net/some/path/file.php?PHPSESSID=testid">test</a>
052- <a href="http://php.net/some/path/file.php?foo&PHPSESSID=testid">test</a>
053- <a href="http://php.net/some/path/file.php?foo=var&PHPSESSID=testid">test</a>
054- <a href="http://php.net/some/path/file.php?foo=var&PHPSESSID=testid#bar">test</a>
042+ <a href="http://php.net/?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
043+ <a href="http://php.net/?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
044+ <a href="http://php.net/?PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
045+ <a href="http://php.net/?foo&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
046+ <a href="http://php.net/?foo&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
047+ <a href="http://php.net/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
048+ <a href="http://php.net/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
049+ <a href="http://php.net/file.php?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
050+ <a href="http://php.net/file.php?PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
051+ <a href="http://php.net/file.php?foo&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
052+ <a href="http://php.net/file.php?foo&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
053+ <a href="http://php.net/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
054+ <a href="http://php.net/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
055+ <a href="http://php.net/some/path/file.php?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
056+ <a href="http://php.net/some/path/file.php?foo&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
057+ <a href="http://php.net/some/path/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
058+ <a href="http://php.net/some/path/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
056- <a href="https://php.net/?PHPSESSID=testid">test</a>
057- <a href="https://php.net/?PHPSESSID=testid">test</a>
058- <a href="https://php.net/?foo=var&PHPSESSID=testid#bar">test</a>
059- <a href="https://php.net/file.php?PHPSESSID=testid">test</a>
060- <a href="https://php.net/file.php?foo=var&PHPSESSID=testid#bar">test</a>
061- <a href="https://php.net/some/path/file.php?PHPSESSID=testid">test</a>
062- <a href="https://php.net/some/path/file.php?foo=var&PHPSESSID=testid#bar">test</a>
063- <a href="https://php.net:8443/?PHPSESSID=testid">test</a>
064- <a href="https://php.net:8443/?PHPSESSID=testid">test</a>
065- <a href="https://php.net:8443/?foo=var&PHPSESSID=testid#bar">test</a>
066- <a href="https://php.net:8443/file.php?PHPSESSID=testid">test</a>
067- <a href="https://php.net:8443/file.php?foo=var&PHPSESSID=testid#bar">test</a>
068- <a href="https://php.net:8443/some/path/file.php?PHPSESSID=testid">test</a>
069- <a href="https://php.net:8443/some/path/file.php?foo=var&PHPSESSID=testid#bar">test</a>
060+ <a href="https://php.net/?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
061+ <a href="https://php.net/?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
062+ <a href="https://php.net/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
063+ <a href="https://php.net/file.php?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
064+ <a href="https://php.net/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
065+ <a href="https://php.net/some/path/file.php?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
066+ <a href="https://php.net/some/path/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
067+ <a href="https://php.net:8443/?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
068+ <a href="https://php.net:8443/?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
069+ <a href="https://php.net:8443/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
070+ <a href="https://php.net:8443/file.php?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
071+ <a href="https://php.net:8443/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
072+ <a href="https://php.net:8443/some/path/file.php?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
073+ <a href="https://php.net:8443/some/path/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
071- <a href="//php.net/?PHPSESSID=testid">test</a>
072- <a href="//php.net/?PHPSESSID=testid">test</a>
073- <a href="//php.net/?PHPSESSID=testid#bar">test</a>
074- <a href="//php.net/?foo&PHPSESSID=testid">test</a>
075- <a href="//php.net/?foo&PHPSESSID=testid#bar">test</a>
076- <a href="//php.net/?foo=var&PHPSESSID=testid">test</a>
077- <a href="//php.net/?foo=var&PHPSESSID=testid#bar">test</a>
078- <a href="//php.net/file.php?PHPSESSID=testid">test</a>
079- <a href="//php.net/file.php?PHPSESSID=testid#bar">test</a>
080- <a href="//php.net/file.php?foo&PHPSESSID=testid">test</a>
081- <a href="//php.net/file.php?foo&PHPSESSID=testid#bar">test</a>
082- <a href="//php.net/file.php?foo=var&PHPSESSID=testid">test</a>
083- <a href="//php.net/file.php?foo=var&PHPSESSID=testid#bar">test</a>
084- <a href="//php.net/some/path/file.php?PHPSESSID=testid">test</a>
085- <a href="//php.net/some/path/file.php?foo&PHPSESSID=testid">test</a>
086- <a href="//php.net/some/path/file.php?foo=var&PHPSESSID=testid">test</a>
087- <a href="//php.net/some/path/file.php?foo=var&PHPSESSID=testid#bar">test</a>
088-
089- <form action="script.php" method="post"><input type="hidden" name="PHPSESSID" value="testid" />
075+ <a href="//php.net/?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
076+ <a href="//php.net/?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
077+ <a href="//php.net/?PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
078+ <a href="//php.net/?foo&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
079+ <a href="//php.net/?foo&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
080+ <a href="//php.net/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
081+ <a href="//php.net/?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
082+ <a href="//php.net/file.php?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
083+ <a href="//php.net/file.php?PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
084+ <a href="//php.net/file.php?foo&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
085+ <a href="//php.net/file.php?foo&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
086+ <a href="//php.net/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
087+ <a href="//php.net/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
088+ <a href="//php.net/some/path/file.php?PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
089+ <a href="//php.net/some/path/file.php?foo&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
090+ <a href="//php.net/some/path/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391">test</a>
091+ <a href="//php.net/some/path/file.php?foo=var&PHPSESSID=e2007721ebece4167081e635d306f391#bar">test</a>
092+
093+ <form action="script.php" method="post"><input type="hidden" name="PHPSESSID" value="e2007721ebece4167081e635d306f391" />
094+ <input type="text" name="test1"></input>
095+ <input type="text" name="test2" />
096+ </form>
097+ <form action="../script.php" method="post"><input type="hidden" name="PHPSESSID" value="e2007721ebece4167081e635d306f391" />r
098+ <input type="text" name="test1"></input>
099+ <input type="text" name="test2" />
100+ </form>
101+ <form action="/path/script.php" method="post"><input type="hidden" name="PHPSESSID" value="e2007721ebece4167081e635d306f391" />
102+ <input type="text" name="test1"></input>
103+ <input type="text" name="test2" />
104+ </form>
105+ <form action="../path/script.php" method="post"><input type="hidden" name="PHPSESSID" value="e2007721ebece4167081e635d306f391" />
106+ <input type="text" name="test1"></input>
107+ <input type="text" name="test2" />
108+ </form>
109+ <form method="post" action="http://php.net/script.php"><input type="hidden" name="PHPSESSID" value="e2007721ebece4167081e635d306f391" />
110+ <input type="text" name="test1"></input>
111+ <input type="text" name="test2" />
112+ </form>
113+ <form method="post" action="https://php.net/script.php"><input type="hidden" name="PHPSESSID" value="e2007721ebece4167081e635d306f391" />
114+ <input type="text" name="test1"></input>
115+ <input type="text" name="test2" />
116+ </form>
117+ <form method="post" action="//php.net/script.php"><input type="hidden" name="PHPSESSID" value="e2007721ebece4167081e635d306f391" />
093- <form action="../script.php" method="post"><input type="hidden" name="PHPSESSID" value="testid" />r
094- <input type="text" name="test1"></input>
095- <input type="text" name="test2" />
096- </form>
097- <form action="/path/script.php" method="post"><input type="hidden" name="PHPSESSID" value="testid" />
098- <input type="text" name="test1"></input>
099- <input type="text" name="test2" />
100- </form>
101- <form action="../path/script.php" method="post"><input type="hidden" name="PHPSESSID" value="testid" />
102- <input type="text" name="test1"></input>
103- <input type="text" name="test2" />
104- </form>
105- <form method="post" action="http://php.net/script.php"><input type="hidden" name="PHPSESSID" value="testid" />
106- <input type="text" name="test1"></input>
107- <input type="text" name="test2" />
108- </form>
109- <form method="post" action="https://php.net/script.php"><input type="hidden" name="PHPSESSID" value="testid" />
110- <input type="text" name="test1"></input>
111- <input type="text" name="test2" />
112- </form>
113- <form method="post" action="//php.net/script.php"><input type="hidden" name="PHPSESSID" value="testid" />
114- <input type="text" name="test1"></input>
115- <input type="text" name="test2" />
116- </form>
118-
119- <a href="http://bad.com">test</a>
120- <a href="http://bad.com/">test</a>
121- <a href="http://bad.com/#bar">test</a>
122- <a href="http://bad.com/?foo">test</a>
123- <a href="http://bad.com/?foo#bar">test</a>
124- <a href="http://bad.com/?foo=var">test</a>
125- <a href="http://bad.com/?foo=var#bar">test</a>
126- <a href="http://bad.com/file.php">test</a>
127- <a href="http://bad.com/file.php#bar">test</a>
128- <a href="http://bad.com/file.php?foo">test</a>
129- <a href="http://bad.com/file.php?foo#bar">test</a>
130- <a href="http://bad.com/file.php?foo=var">test</a>
131- <a href="http://bad.com/file.php?foo=var#bar">test</a>
132- <a href="http://bad.com/some/path/file.php">test</a>
133- <a href="http://bad.com/some/path/file.php?foo">test</a>
134- <a href="http://bad.com/some/path/file.php?foo=var">test</a>
135- <a href="http://bad.com/some/path/file.php?foo=var#bar">test</a>
121+
122+
123+ <a href="http://bad.com">test</a>
124+ <a href="http://bad.com/">test</a>
125+ <a href="http://bad.com/#bar">test</a>
126+ <a href="http://bad.com/?foo">test</a>
127+ <a href="http://bad.com/?foo#bar">test</a>
128+ <a href="http://bad.com/?foo=var">test</a>
129+ <a href="http://bad.com/?foo=var#bar">test</a>
130+ <a href="http://bad.com/file.php">test</a>
131+ <a href="http://bad.com/file.php#bar">test</a>
132+ <a href="http://bad.com/file.php?foo">test</a>
133+ <a href="http://bad.com/file.php?foo#bar">test</a>
134+ <a href="http://bad.com/file.php?foo=var">test</a>
135+ <a href="http://bad.com/file.php?foo=var#bar">test</a>
136+ <a href="http://bad.com/some/path/file.php">test</a>
137+ <a href="http://bad.com/some/path/file.php?foo">test</a>
138+ <a href="http://bad.com/some/path/file.php?foo=var">test</a>
139+ <a href="http://bad.com/some/path/file.php?foo=var#bar">test</a>
137- <a href="https://bad.com">test</a>
138- <a href="https://bad.com/">test</a>
139- <a href="https://bad.com/?foo=var#bar">test</a>
140- <a href="https://bad.com/file.php">test</a>
141- <a href="https://bad.com/file.php?foo=var#bar">test</a>
142- <a href="https://bad.com/some/path/file.php">test</a>
143- <a href="https://bad.com/some/path/file.php?foo=var#bar">test</a>
144- <a href="https://bad.com:8443">test</a>
145- <a href="https://bad.com:8443/">test</a>
146- <a href="https://bad.com:8443/?foo=var#bar">test</a>
147- <a href="https://bad.com:8443/file.php">test</a>
148- <a href="https://bad.com:8443/file.php?foo=var#bar">test</a>
149- <a href="https://bad.com:8443/some/path/file.php">test</a>
150- <a href="https://bad.com:8443/some/path/file.php?foo=var#bar">test</a>
141+ <a href="https://bad.com">test</a>
142+ <a href="https://bad.com/">test</a>
143+ <a href="https://bad.com/?foo=var#bar">test</a>
144+ <a href="https://bad.com/file.php">test</a>
145+ <a href="https://bad.com/file.php?foo=var#bar">test</a>
146+ <a href="https://bad.com/some/path/file.php">test</a>
147+ <a href="https://bad.com/some/path/file.php?foo=var#bar">test</a>
148+ <a href="https://bad.com:8443">test</a>
149+ <a href="https://bad.com:8443/">test</a>
150+ <a href="https://bad.com:8443/?foo=var#bar">test</a>
151+ <a href="https://bad.com:8443/file.php">test</a>
152+ <a href="https://bad.com:8443/file.php?foo=var#bar">test</a>
153+ <a href="https://bad.com:8443/some/path/file.php">test</a>
154+ <a href="https://bad.com:8443/some/path/file.php?foo=var#bar">test</a>
152- <a href="//bad.com">test</a>
153- <a href="//bad.com/">test</a>
154- <a href="//bad.com/#bar">test</a>
155- <a href="//bad.com/?foo">test</a>
156- <a href="//bad.com/?foo#bar">test</a>
157- <a href="//bad.com/?foo=var">test</a>
158- <a href="//bad.com/?foo=var#bar">test</a>
159- <a href="//bad.com/file.php">test</a>
160- <a href="//bad.com/file.php#bar">test</a>
161- <a href="//bad.com/file.php?foo">test</a>
162- <a href="//bad.com/file.php?foo#bar">test</a>
163- <a href="//bad.com/file.php?foo=var">test</a>
164- <a href="//bad.com/file.php?foo=var#bar">test</a>
165- <a href="//bad.com/some/path/file.php">test</a>
166- <a href="//bad.com/some/path/file.php?foo">test</a>
167- <a href="//bad.com/some/path/file.php?foo=var">test</a>
168- <a href="//bad.com/some/path/file.php?foo=var#bar">test</a>
169-
170- <form action="//bad.com/script.php" method="post">
156+ <a href="//bad.com">test</a>
157+ <a href="//bad.com/">test</a>
158+ <a href="//bad.com/#bar">test</a>
159+ <a href="//bad.com/?foo">test</a>
160+ <a href="//bad.com/?foo#bar">test</a>
161+ <a href="//bad.com/?foo=var">test</a>
162+ <a href="//bad.com/?foo=var#bar">test</a>
163+ <a href="//bad.com/file.php">test</a>
164+ <a href="//bad.com/file.php#bar">test</a>
165+ <a href="//bad.com/file.php?foo">test</a>
166+ <a href="//bad.com/file.php?foo#bar">test</a>
167+ <a href="//bad.com/file.php?foo=var">test</a>
168+ <a href="//bad.com/file.php?foo=var#bar">test</a>
169+ <a href="//bad.com/some/path/file.php">test</a>
170+ <a href="//bad.com/some/path/file.php?foo">test</a>
171+ <a href="//bad.com/some/path/file.php?foo=var">test</a>
172+ <a href="//bad.com/some/path/file.php?foo=var#bar">test</a>
174+ <form action="//bad.com/script.php" method="post">
175+ <input type="text" name="test1"></input>
176+ <input type="text" name="test2" />
177+ </form>
178+ <form action="https://bad.com/foo/../script.php" method="post">
179+ <input type="text" name="test1"></input>
180+ <input type="text" name="test2" />
181+ </form>
182+ <form action="https://bad.com//path/script.php" method="post">
183+ <input type="text" name="test1"></input>
184+ <input type="text" name="test2" />
185+ </form>
186+ <form action="https://bad.com/foo/bar../path/script.php" method="post">
187+ <input type="text" name="test1"></input>
188+ <input type="text" name="test2" />
189+ </form>
190+ <form method="post" action="http://bad.com/script.php">
191+ <input type="text" name="test1"></input>
192+ <input type="text" name="test2" />
193+ </form>
194+ <form method="post" action="https://bad.com/script.php">
195+ <input type="text" name="test1"></input>
196+ <input type="text" name="test2" />
197+ </form>
198+ <form method="post" action="//bad.com/script.php">
174- <form action="https://bad.com/foo/../script.php" method="post">
175- <input type="text" name="test1"></input>
176- <input type="text" name="test2" />
177- </form>
178- <form action="https://bad.com//path/script.php" method="post">
179- <input type="text" name="test1"></input>
202+
203+ bool(false)
204+ *** Cleanup ***
205+ bool(true)
206+ string(32) "e2007721ebece4167081e635d306f391"
207+ bool(true)
180- <input type="text" name="test2" />
181- </form>
182- <form action="https://bad.com/foo/bar../path/script.php" method="post">
183- <input type="text" name="test1"></input>
184- <input type="text" name="test2" />
185- </form>
186- <form method="post" action="http://bad.com/script.php">
187- <input type="text" name="test1"></input>
188- <input type="text" name="test2" />
189- </form>
190- <form method="post" action="https://bad.com/script.php">
191- <input type="text" name="test1"></input>
192- <input type="text" name="test2" />
193- </form>
194- <form method="post" action="//bad.com/script.php">
195- <input type="text" name="test1"></input>
196- <input type="text" name="test2" />
197- </form>
198-
199- bool(true)
200- *** Cleanup ***
201- bool(true)
202- string(6) "testid"
203- bool(true)