I'm trying to encode a url as an arg value like this
url = "http://test.com?a=1&b=2"
encode_url = "http://domain?url="..ngx.escape_uri(url)
then it became
but i want to this
and I also try ngx.encode_args(), it's the same
Does anyone know why? And how should I do?