c# - HttpUtility.UrlEncode not encoding single quotes -
i'm trying encode query string using httputility.urlencode
method
the string is:
www.example.come?a=1&b='mia'&c=33
the output is:
www.example.come%3fa%3d1%26b%3d'mia'%26c%3d33
why did quotation marks not encoded , there way me ensure do?
these characters valid url according this abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=
Comments
Post a Comment