Skip to content

Commit

Permalink
fix: now using proper godot 3 function
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitorgus authored Mar 22, 2024
1 parent a754126 commit 869c2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/godot-firebase/storage/storage.gd
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ func _finish_request(result: int) -> void:
func _get_file_url(ref: StorageReference) -> String:
var url := _extended_url.replace("[APP_ID]", ref.bucket)
url = url.replace("[API_VERSION]", _API_VERSION)
return url.replace("[FILE_PATH]", ref.full_path.uri_encode())
return url.replace("[FILE_PATH]", ref.full_path.http_escape())


# Removes any "../" or "./" in the file path.
Expand Down

0 comments on commit 869c2a2

Please sign in to comment.