Home
last modified time | relevance | path

Searched refs:loc_path (Results 1 – 1 of 1) sorted by relevance

/PHP-8.3/ext/standard/
H A Dhttp_fopen_wrapper.c859 char loc_path[HTTP_HEADER_BLOCK_SIZE]; in php_stream_url_wrap_http_ex() local
884 snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
886 snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
889 snprintf(loc_path, sizeof(loc_path) - 1, "/%s", location); in php_stream_url_wrap_http_ex()
892 strlcpy(loc_path, location, sizeof(loc_path)); in php_stream_url_wrap_http_ex()
895 …1, "%s://%s:%d%s", ZSTR_VAL(resource->scheme), ZSTR_VAL(resource->host), resource->port, loc_path); in php_stream_url_wrap_http_ex()
897 …sizeof(new_path) - 1, "%s://%s%s", ZSTR_VAL(resource->scheme), ZSTR_VAL(resource->host), loc_path); in php_stream_url_wrap_http_ex()

Completed in 8 milliseconds