fix #98 #99 #100 #101 #102 #103
[m6w6/ext-http] / tests / bug71719.phpt
index f75bac90e85500a4db253dde25288ff33f3d096a..4071f0bb1b4e198577c484956a7780f1bf7e9f2d 100644 (file)
@@ -1,9 +1,11 @@
 --TEST--
-Buffer overflow in HTTP url parsing functions
+Bug #71719 (Buffer overflow in HTTP url parsing functions)
 --SKIPIF--
 <?php
 include "skipif.inc";
 ?>
+--INI--
+zend.exception_ignore_args=off
 --FILE--
 <?php
 
@@ -20,6 +22,6 @@ try {
 Test
 %r(exception ')?%rhttp\Exception\BadMessageException%r(' with message '|: )%rhttp\Message::__construct(): Could not parse HTTP protocol version 'HTTP/%s.0'%r'?%r in %sbug71719.php:5
 Stack trace:
-#0 %sbug71719.php(5): http\Message->__construct('\x80\xACTd 5 HTTP/1.1...', false)
+#0 %sbug71719.php(5): http\Message->__construct('%r(\?\?|\\x80\\xAC)%rTd 5 HTTP/1.1...', false)
 #1 {main}
 ===DONE===