/php-src/ext/standard/tests/http/ |
H A D | bug79265.phpt | 2 Bug #79265 (Improper injection of Host header when using fopen for http requests) 20 'header'=>"RandomHeader: localhost:8080\r\n" .
|
H A D | bug79265_2.phpt | 2 Bug #79265 variation: "host:" not at start of header 20 'header'=>"RandomHeader: host:8080\r\n" .
|
H A D | bug47021.phpt | 29 'header' => 'Connection: Close' 44 . "Content-Type\r\n" // Deliberately invalid header 68 // Trailing space at end of header
|
H A D | bug61548.phpt | 11 function do_test($header) { 15 'header' => $header,
|
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/ |
H A D | sljitProtExecAllocatorPosix.c | 166 struct sljit_chunk_header *header = ((struct sljit_chunk_header *)chunk) - 1; in free_chunk() local 168 munmap(header->executable, size); in free_chunk() 169 munmap((void *)header, size); in free_chunk()
|
/php-src/sapi/fpm/tests/ |
H A D | response.inc | 191 * Expect header in the response. 391 * Check a specified header. 404 return $this->error("The header $name is not present"); 406 $header = $headers[$lcName]; 409 if ($header === $value) { 413 return $this->error("The header $name value '$header' is not the same as '$value'"); 416 if ( ! preg_match($value, $header)) { 417 return $this->error("The header $name value '$header' does not match RegExp '$value'"); 432 return $this->error("The header $name is present"); 458 $this->error("Invalid header row (no colon): $headerRow");
|
/php-src/ext/standard/ |
H A D | http_fopen_wrapper.c | 109 while ((s = strstr(s, header))) { in check_has_header() 240 smart_str header = {0}; in php_stream_url_wrap_http_ex() local 250 smart_str_appends(&header, ZSTR_VAL(resource->host)); in php_stream_url_wrap_http_ex() 251 smart_str_appendc(&header, ':'); in php_stream_url_wrap_http_ex() 252 smart_str_append_unsigned(&header, resource->port); in php_stream_url_wrap_http_ex() 275 smart_str_appendl(&header, s, p - s); in php_stream_url_wrap_http_ex() 299 smart_str_appendl(&header, s, p - s); in php_stream_url_wrap_http_ex() 300 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex() 312 smart_str_appendl(&header, "\r\n", sizeof("\r\n")-1); in php_stream_url_wrap_http_ex() 314 if (php_stream_write(stream, ZSTR_VAL(header.s), ZSTR_LEN(header.s)) != ZSTR_LEN(header.s)) { in php_stream_url_wrap_http_ex() [all …]
|
/php-src/ext/phar/tests/files/ |
H A D | openssl.phar | 58 header("Cache-Control: no-cache, must-revalidate"); 59 header("Pragma: no-cache"); 70 header('HTTP/1.1 301 Moved Permanently'); 71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt); 76 header('HTTP/1.0 404 Not Found'); 82 header('Content-Type: text/plain'); 83 header('Content-Length: ' . filesize($a)); 96 header('Content-Type: ' .$mimes[$b['extension']]); 97 header('Content-Length: ' . filesize($a));
|
H A D | openssl256.phar | 58 header("Cache-Control: no-cache, must-revalidate"); 59 header("Pragma: no-cache"); 70 header('HTTP/1.1 301 Moved Permanently'); 71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt); 76 header('HTTP/1.0 404 Not Found'); 82 header('Content-Type: text/plain'); 83 header('Content-Length: ' . filesize($a)); 96 header('Content-Type: ' .$mimes[$b['extension']]); 97 header('Content-Length: ' . filesize($a));
|
H A D | openssl512.phar | 58 header("Cache-Control: no-cache, must-revalidate"); 59 header("Pragma: no-cache"); 70 header('HTTP/1.1 301 Moved Permanently'); 71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt); 76 header('HTTP/1.0 404 Not Found'); 82 header('Content-Type: text/plain'); 83 header('Content-Length: ' . filesize($a)); 96 header('Content-Type: ' .$mimes[$b['extension']]); 97 header('Content-Length: ' . filesize($a));
|
H A D | include_path2.phar | 58 header("Cache-Control: no-cache, must-revalidate"); 59 header("Pragma: no-cache"); 70 header('HTTP/1.1 301 Moved Permanently'); 71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt); 76 header('HTTP/1.0 404 Not Found'); 82 header('Content-Type: text/plain'); 83 header('Content-Length: ' . filesize($a)); 96 header('Content-Type: ' .$mimes[$b['extension']]); 97 header('Content-Length: ' . filesize($a));
|
H A D | nophar.phar | 58 header("Cache-Control: no-cache, must-revalidate"); 59 header("Pragma: no-cache"); 70 header('HTTP/1.1 301 Moved Permanently'); 71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt); 76 header('HTTP/1.0 404 Not Found'); 82 header('Content-Type: text/plain'); 83 header('Content-Length: ' . filesize($a)); 96 header('Content-Type: ' .$mimes[$b['extension']]); 97 header('Content-Length: ' . filesize($a));
|
/php-src/ext/phar/tests/cache_list/files/ |
H A D | nophar.phar | 58 header("Cache-Control: no-cache, must-revalidate"); 59 header("Pragma: no-cache"); 70 header('HTTP/1.1 301 Moved Permanently'); 71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt); 76 header('HTTP/1.0 404 Not Found'); 82 header('Content-Type: text/plain'); 83 header('Content-Length: ' . filesize($a)); 96 header('Content-Type: ' .$mimes[$b['extension']]); 97 header('Content-Length: ' . filesize($a));
|
H A D | openssl.phar | 58 header("Cache-Control: no-cache, must-revalidate"); 59 header("Pragma: no-cache"); 70 header('HTTP/1.1 301 Moved Permanently'); 71 header('Location: ' . $_SERVER['REQUEST_URI'] . '/' . $pt); 76 header('HTTP/1.0 404 Not Found'); 82 header('Content-Type: text/plain'); 83 header('Content-Length: ' . filesize($a)); 96 header('Content-Type: ' .$mimes[$b['extension']]); 97 header('Content-Length: ' . filesize($a));
|
/php-src/ext/gd/libgd/ |
H A D | gd_bmp.c | 38 static int bmp_read_1bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header); 39 static int bmp_read_4bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header); 40 static int bmp_read_8bit(gdImagePtr im, gdIOCtxPtr infile, bmp_info_t *info, bmp_hdr_t *header); 712 if (gdTell(infile) != header->off) { in bmp_read_direct() 714 if (!gdSeek(infile, header->off)) { in bmp_read_direct() 809 if (gdTell(infile) != header->off) { in bmp_read_1bit() 811 if (!gdSeek(infile, header->off)) { in bmp_read_1bit() 879 if (gdTell(infile) != header->off) { in bmp_read_4bit() 881 if (!gdSeek(infile, header->off)) { in bmp_read_4bit() 966 if (gdTell(infile) != header->off) { in bmp_read_8bit() [all …]
|
/php-src/ext/soap/tests/soap12/ |
H A D | soap12-test.inc | 3 public $header; 104 $this->header = $x; 108 return $this->header;
|
/php-src/ext/tidy/ |
H A D | config.w32 | 16 AC_DEFINE('HAVE_TIDYBUFFIO_H', 1, 'Have tidybuffio.h header file'); 21 AC_DEFINE('HAVE_TIDY_H', 1, "tidy include header")
|
/php-src/ext/soap/tests/bugs/ |
H A D | bug50762.phpt | 13 return 'header handler ' . ($this->auth ? 'called' : 'not called'); 46 header handler called
|
/php-src/ext/fileinfo/tests/upstream/ |
H A D | pcjr.testfile | 2 Fake PCjr Cartridge containing only a header.
|
/php-src/ext/standard/tests/general_functions/ |
H A D | header_redirection_001.phpt | 6 header('Location: http://example.com/');
|
/php-src/ext/date/tests/ |
H A D | bug61642.phpt | 12 $header = array(); 17 $header[] = $date->format('Y-m-d D'); 20 echo '### ', implode(' ', $header), "\n\n";
|
/php-src/ext/dom/tests/modern/html/encoding/ |
H A D | HTMLDocument_createFromFile_http_header.phpt | 2 DOM\HTMLDocument::createFromFile() HTTP header Content-Type 62 …$responses = array_map(fn ($header) => "data://text/plain,HTTP/1.1 200 OK\r\nContent-Type: " . $he…
|
/php-src/ext/standard/tests/streams/ |
H A D | bug64433_srv.inc | 7 header("Location: index.php?redir=1");
|
/php-src/ext/mbstring/tests/ |
H A D | mb_output_handler_pattern-01.phpt | 8 header("Content-Type: text/html");
|
H A D | mb_output_handler_pattern-02.phpt | 8 header("Content-Type: text/plain");
|