projects
/
m6w6
/
ext-http
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix segv with invalid url
[m6w6/ext-http]
/
tests
/
redirect_012.phpt
diff --git
a/tests/redirect_012.phpt
b/tests/redirect_012.phpt
index 1d48ae58ed56cd91063877abdd9503517f69cfcd..977b593727e0c0b3b49db495a03c6dc5fc0cc623 100644
(file)
--- a/
tests/redirect_012.phpt
+++ b/
tests/redirect_012.phpt
@@
-4,7
+4,7
@@
http_redirect() with session
<?php
include 'skip.inc';
checkcgi();
<?php
include 'skip.inc';
checkcgi();
-checkmin(
5.1
);
+checkmin(
"5.2.5"
);
checkext('session');
?>
--ENV--
checkext('session');
?>
--ENV--
@@
-17,11
+17,11
@@
session_start();
http_redirect('redirect', array('a' => 1), true);
?>
--EXPECTF--
http_redirect('redirect', array('a' => 1), true);
?>
--EXPECTF--
-Status: 302
-X-Powered-By: PHP/%
s
-Set-Cookie: PHPSESSID=%
s
; path=/
-Expires: %
s
-Cache-Control: %
s
-Pragma: %
s
-Location: http://localhost/redirect?a=1&PHPSESSID=%
s
-Content-type: %
s
+Status: 302
%s
+X-Powered-By: PHP/%
a
+Set-Cookie: PHPSESSID=%
a
; path=/
+Expires: %
a
+Cache-Control: %
a
+Pragma: %
a
+Location: http://localhost/redirect?a=1&PHPSESSID=%
a
+Content-type: %
a