Home
last modified time | relevance | path

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

/PHP-7.4/ext/standard/
H A Dhttp_fopen_wrapper.c842 char loc_path[HTTP_HEADER_BLOCK_SIZE]; in php_stream_url_wrap_http_ex() local
867 snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
869 snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
872 snprintf(loc_path, sizeof(loc_path) - 1, "/%s", location); in php_stream_url_wrap_http_ex()
875 strlcpy(loc_path, location, sizeof(loc_path)); in php_stream_url_wrap_http_ex()
878 …1, "%s://%s:%d%s", ZSTR_VAL(resource->scheme), ZSTR_VAL(resource->host), resource->port, loc_path); in php_stream_url_wrap_http_ex()
880 …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 5 milliseconds