godot/core
Fabio Alessandrelli 77e3514315
[Net] Implement String::parse_url for parsing URLs.
Splits the URL into (scheme, host, port, path).
Supports both literal IPv4 and IPv6.
Strip credentials when present (e.g. http://user:pass@example.com/).

Use that function in both HTTPRequest and WebSocketClient.

(cherry picked from commit 3bb40669d5)
2021-05-03 21:39:43 +02:00
..
bind Revert "Fix _File::get_buffer length always set to p_length" 2021-04-17 13:07:18 +02:00
crypto SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00
io Core: Drop custom copymem/zeromem defines 2021-04-29 12:34:11 +02:00
math Core: Drop custom copymem/zeromem defines 2021-04-29 12:34:11 +02:00
os Core: Drop custom copymem/zeromem defines 2021-04-29 12:34:11 +02:00
array.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
array.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
class_db.cpp fix crash on null class in ClassDB.get_property() and set_property() 2021-04-05 12:02:32 +02:00
class_db.h Modernize RWLock 2021-02-18 11:41:07 +01:00
color.cpp Make Color::from_hsv use Color::set_hsv 2021-03-04 11:39:02 +01:00
color.h Improve some argument names for core types 2021-04-23 15:34:24 +02:00
color_names.inc doc: Document named color constants 2020-01-26 12:08:16 +01:00
command_queue_mt.cpp Modernize Semaphore 2021-02-18 11:58:08 +01:00
command_queue_mt.h Modernize Semaphore 2021-02-18 11:58:08 +01:00
compressed_translation.cpp Check PHashTranslation generate p_from is valid 2021-05-03 19:58:40 +05:00
compressed_translation.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
core_builders.py Update AUTHORS and DONORS list 2020-08-14 00:32:05 +02:00
core_string_names.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
core_string_names.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
cowdata.h Improve robustness of atomics 2021-02-19 11:48:30 +01:00
dictionary.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
dictionary.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
engine.cpp Revert backport of 2D transform and camera snapping options 2021-03-05 14:20:31 +00:00
engine.h Revert backport of 2D transform and camera snapping options 2021-03-05 14:20:31 +00:00
error_list.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
error_macros.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
error_macros.h Modernize atomics 2021-02-18 12:23:25 +01:00
func_ref.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
func_ref.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
global_constants.cpp doc: Sync classref with current source 2021-02-16 14:47:29 +01:00
global_constants.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
hash_map.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
hashfuncs.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
image.cpp Core: Drop custom copymem/zeromem defines 2021-04-29 12:34:11 +02:00
image.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
input_map.cpp Print suggestions when requesting a nonexistent InputMap action 2021-02-11 18:00:26 +01:00
input_map.h Print suggestions when requesting a nonexistent InputMap action 2021-02-11 18:00:26 +01:00
int_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
list.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
local_vector.h Core: Drop custom copymem/zeromem defines 2021-04-29 12:34:11 +02:00
make_binders.py SCons: Format buildsystem files with psf/black 2020-06-10 15:30:52 +02:00
map.h Separate set.h from map.h 2021-04-14 13:06:12 +02:00
message_queue.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
message_queue.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
method_bind.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
method_bind.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
method_ptrcall.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
node_path.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
node_path.h NodePath: Remove unimplemented get_parent() method 2021-04-23 21:50:00 +02:00
oa_hash_map.h Core: Drop custom copymem/zeromem defines 2021-04-29 12:34:11 +02:00
object.cpp Modernize atomics 2021-02-18 12:23:25 +01:00
object.h Modernize atomics 2021-02-18 12:23:25 +01:00
object_id.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
object_rc.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ordered_hash_map.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
packed_data_container.cpp Core: Drop custom copymem/zeromem defines 2021-04-29 12:34:11 +02:00
packed_data_container.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pair.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
path_remap.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
path_remap.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pool_allocator.cpp Core: Drop custom copymem/zeromem defines 2021-04-29 12:34:11 +02:00
pool_allocator.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
pool_vector.cpp Modernize Mutex 2021-02-18 11:58:08 +01:00
pool_vector.h Core: Drop custom copymem/zeromem defines 2021-04-29 12:34:11 +02:00
pooled_list.h doc: Sync classref with current source 2021-01-13 16:55:27 +01:00
print_string.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
print_string.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
project_settings.cpp Fix bug causing project.godot to be ignored when project.binary is missing 2021-03-17 15:17:02 +01:00
project_settings.h Add GLOBAL_DEF_ALIAS and alias for rename of pixel_snap 2021-03-09 15:16:24 +00:00
ref_ptr.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ref_ptr.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
reference.cpp Modernize atomics 2021-02-18 12:23:25 +01:00
reference.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
register_core_types.cpp Add AESContext. 2021-04-24 00:04:56 +02:00
register_core_types.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
resource.cpp Modernize RWLock 2021-02-18 11:41:07 +01:00
resource.h Modernize RWLock 2021-02-18 11:41:07 +01:00
rid.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
rid.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ring_buffer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
safe_refcount.cpp Improve robustness of atomics 2021-02-19 11:48:30 +01:00
safe_refcount.h Add type_traits include for std::is_trivially_destructible 2021-04-22 17:22:52 +02:00
script_debugger_local.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
script_debugger_local.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
script_language.cpp Don't save project settings when not necessary 2021-02-16 14:27:38 +01:00
script_language.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
SCsub SCons: Add explicit dependencies on thirdparty code in cloned env 2021-04-29 16:57:00 +02:00
self_list.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
set.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
simple_type.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
sort_array.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
string_buffer.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
string_builder.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
string_builder.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
string_name.cpp Modernize Mutex 2021-02-18 11:58:08 +01:00
string_name.h Modernize Mutex 2021-02-18 11:58:08 +01:00
translation.cpp Fixes some inconsistent ISO-639 language codes 2021-02-25 15:14:32 +01:00
translation.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
type_info.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
typedefs.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ucaps.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
undo_redo.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
undo_redo.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
ustring.cpp [Net] Implement String::parse_url for parsing URLs. 2021-05-03 21:39:43 +02:00
ustring.h [Net] Implement String::parse_url for parsing URLs. 2021-05-03 21:39:43 +02:00
variant.cpp Object: Make deleted object access raise errors, not warnings 2021-04-20 11:37:39 +02:00
variant.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
variant_call.cpp Core: Drop custom copymem/zeromem defines 2021-04-29 12:34:11 +02:00
variant_op.cpp Object: Make deleted object access raise errors, not warnings 2021-04-20 11:37:39 +02:00
variant_parser.cpp Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
variant_parser.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
vector.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
version.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
vmap.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00
vset.h Update copyright statements to 2021 2021-01-13 16:17:06 +01:00