You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Add uri_file_decode to handle + in file names.
This commit is contained in:
@@ -559,8 +559,8 @@ Error GDScriptWorkspace::parse_local_script(const String &p_path) {
|
||||
}
|
||||
|
||||
String GDScriptWorkspace::get_file_path(const String &p_uri) const {
|
||||
String path = p_uri.uri_decode();
|
||||
String base_uri = root_uri.uri_decode();
|
||||
String path = p_uri.uri_file_decode();
|
||||
String base_uri = root_uri.uri_file_decode();
|
||||
path = path.replacen(base_uri + "/", "res://");
|
||||
return path;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user