summaryrefslogtreecommitdiffstats
path: root/editor/plugins/asset_library_editor_plugin.cpp
diff options
context:
space:
mode:
authorPedro J. Estébanez <pedrojrulez@gmail.com>2018-03-23 20:44:46 +0100
committerPedro J. Estébanez <pedrojrulez@gmail.com>2018-03-27 19:18:30 +0200
commitb76ee30917c63211ac9e94a21bebbddf518d169f (patch)
tree731bb5bdc598beee4421793d62c5324a9ec0c7fe /editor/plugins/asset_library_editor_plugin.cpp
parent4a5723f59e0437dc9f83f7116b8fddd12e15c5d0 (diff)
downloadredot-engine-b76ee30917c63211ac9e94a21bebbddf518d169f.tar.gz
Unify http- and percent- encode/decode
There was a percent-prefixed version, which was exposed, and a http-prefixed version which was not (only to GDNative). This commit keeps the percent-prefixed versions, but with the http-prefixed implementations.
Diffstat (limited to 'editor/plugins/asset_library_editor_plugin.cpp')
-rw-r--r--editor/plugins/asset_library_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/asset_library_editor_plugin.cpp b/editor/plugins/asset_library_editor_plugin.cpp
index c203b4b81e..b72c9b25be 100644
--- a/editor/plugins/asset_library_editor_plugin.cpp
+++ b/editor/plugins/asset_library_editor_plugin.cpp
@@ -902,7 +902,7 @@ void EditorAssetLibrary::_search(int p_page) {
}
if (filter->get_text() != String()) {
- args += "&filter=" + filter->get_text().http_escape();
+ args += "&filter=" + filter->get_text().percent_encode();
}
if (p_page > 0) {