mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Parse fragment from URL
This commit is contained in:
parent
506d6e427a
commit
6516ca6b11
9 changed files with 74 additions and 13 deletions
|
|
@ -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://") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue