Home
last modified time | relevance | path

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

/PHP-7.3/ext/standard/
H A Dhttp_fopen_wrapper.c854 char loc_path[HTTP_HEADER_BLOCK_SIZE]; in php_stream_url_wrap_http_ex() local
879 snprintf(loc_path, sizeof(loc_path) - 1, "%s%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
881 snprintf(loc_path, sizeof(loc_path) - 1, "%s/%s", ZSTR_VAL(resource->path), location); in php_stream_url_wrap_http_ex()
884 snprintf(loc_path, sizeof(loc_path) - 1, "/%s", location); in php_stream_url_wrap_http_ex()
887 strlcpy(loc_path, location, sizeof(loc_path)); in php_stream_url_wrap_http_ex()
890 …1, "%s://%s:%d%s", ZSTR_VAL(resource->scheme), ZSTR_VAL(resource->host), resource->port, loc_path); in php_stream_url_wrap_http_ex()
892 …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 7 milliseconds