mirror of
https://github.com/thegatesbrowser/thegates.git
synced 2025-08-23 08:17:34 -04:00
encode search query
This commit is contained in:
parent
323b9d3fbb
commit
e3d4fcd847
2 changed files with 2 additions and 2 deletions
|
@ -6,4 +6,4 @@
|
|||
script = ExtResource("1_oiju7")
|
||||
local_url = "http://127.0.0.1:8000"
|
||||
remote_url = "http://95.163.241.188:8000"
|
||||
host_type = 0
|
||||
host_type = 1
|
||||
|
|
|
@ -31,7 +31,7 @@ func search(query: String) -> void:
|
|||
|
||||
|
||||
func search_request(query: String):
|
||||
var url = backend.search + query
|
||||
var url = backend.search + query.uri_encode()
|
||||
var callback = func(_result, code, _headers, body):
|
||||
if code == 200:
|
||||
result = body.get_string_from_utf8()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue