diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2024-10-01 17:30:16 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2024-10-01 17:30:16 +0200 |
commit | cf1d910e1052360d888a91851d44abf0a8273b6e (patch) | |
tree | 05e19a2b600a07004b6cb8d1693718cc771878a3 /scene/main/http_request.cpp | |
parent | 8c16e67e4da9c5ce56d206e321bf2df23c35d064 (diff) | |
parent | 6516ca6b11a6241d7908eb322343d44c10050d98 (diff) | |
download | redot-engine-cf1d910e1052360d888a91851d44abf0a8273b6e.tar.gz |
Merge pull request #92237 from timothyqiu/url-fragment
String: Parse fragment from URL
Diffstat (limited to 'scene/main/http_request.cpp')
-rw-r--r-- | scene/main/http_request.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/main/http_request.cpp b/scene/main/http_request.cpp index 3469b806a6..8526611093 100644 --- a/scene/main/http_request.cpp +++ b/scene/main/http_request.cpp @@ -49,7 +49,8 @@ Error HTTPRequest::_parse_url(const String &p_url) { redirections = 0; String scheme; - Error err = p_url.parse_url(scheme, url, port, request_string); + String fragment; + Error err = p_url.parse_url(scheme, url, port, request_string, fragment); ERR_FAIL_COND_V_MSG(err != OK, err, vformat("Error parsing URL: '%s'.", p_url)); if (scheme == "https://") { |