mirror of
https://github.com/sr229/metastruct-experiments.git
synced 2024-09-20 06:30:36 +00:00
URL Encode to be safe
Signed-off-by: Ayane Satomi <ayane@vignetteapp.org>
This commit is contained in:
parent
a3d0bf43c0
commit
96350afbdb
1 changed files with 1 additions and 1 deletions
|
@ -61,7 +61,7 @@ function speak(ent, txt, remote, variant)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
http.get(url .. text, function(code, body)
|
http.get(url .. http.urlEncode(text), function(code, body)
|
||||||
if code == 200 then
|
if code == 200 then
|
||||||
file.writeTemp("tts.mp3", body)
|
file.writeTemp("tts.mp3", body)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue