You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-25 15:37:42 +00:00
Unify URI encoding/decoding and add to C#
http_escape and percent_encode have been unified into uri_encode, and http_unescape and percent_decode have been unified into uri_decode.
This commit is contained in:
@@ -3360,7 +3360,7 @@ void DisplayServerX11::process_events() {
|
||||
|
||||
Vector<String> files = String((char *)p.data).split("\n", false);
|
||||
for (int i = 0; i < files.size(); i++) {
|
||||
files.write[i] = files[i].replace("file://", "").http_unescape().strip_edges();
|
||||
files.write[i] = files[i].replace("file://", "").uri_decode().strip_edges();
|
||||
}
|
||||
|
||||
if (!windows[window_id].drop_files_callback.is_null()) {
|
||||
|
||||
Reference in New Issue
Block a user