1
0
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:
Pāvels Nadtočajevs
2025-04-07 22:49:57 +03:00
parent af2c713971
commit 9abe2e5294
13 changed files with 52 additions and 10 deletions

View File

@@ -1130,6 +1130,7 @@
GD.Print(url.URIDecode()) // Prints "$DOCS_URL/?highlight=Godot Engine:docs"
[/csharp]
[/codeblocks]
[b]Note:[/b] This method decodes [code]+[/code] as space.
</description>
</method>
<method name="uri_encode" qualifiers="const">
@@ -1152,6 +1153,12 @@
[/codeblocks]
</description>
</method>
<method name="uri_file_decode" qualifiers="const">
<return type="String" />
<description>
Decodes the file path from its URL-encoded format. Unlike [method uri_decode] this method leaves [code]+[/code] as is.
</description>
</method>
<method name="validate_filename" qualifiers="const">
<return type="String" />
<description>