I am processing a GET
request in Go using fasthttp.
The query parameter test
in this request is .%2A%2Ftoday%2F.%2A
.
I am using POSTMAN to create the request, and the URL generated is:
http://localhost:3000/apiname/?test=.%252A%252Ftoday%252F.%252A
ctx.QueryArgs().Peek("test")
gives me .*/today/.*
instead of the original .%2A%2Ftoday%2F.%2A
I know I cannot partially encode/decode the request URL. Is there any way to get the original param as is?