Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/
H A Dhttp_fopen_wrapper.c849 char loc_path[HTTP_HEADER_BLOCK_SIZE]; in php_stream_url_wrap_http_ex() local
874 snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
876 snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
879 snprintf(loc_path, sizeof(loc_path) - 1, "/%s", location); in php_stream_url_wrap_http_ex()
882 strlcpy(loc_path, location, sizeof(loc_path)); in php_stream_url_wrap_http_ex()
885 …1, "%s://%s:%d%s", ZSTR_VAL(resource->scheme), ZSTR_VAL(resource->host), resource->port, loc_path); in php_stream_url_wrap_http_ex()
887 …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 10 milliseconds