1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

http: replace escape() with escape_url()

This commit is contained in:
Alexander Medvednikov
2019-07-31 20:53:07 +02:00
parent 550e8cd0cb
commit d3d4ee6b39
5 changed files with 28 additions and 8 deletions

View File

@@ -140,7 +140,7 @@ fn (ctx mut Context) parse_form(s string) {
key := keyval[0]
val := keyval[1]
//println('http form $key => $val')
ctx.post_form[key] = http.unescape(val)
ctx.post_form[key] = http.unescape_url(val)
}
}
}