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

Popular posts from this blog

sequelize.js - Sequelize group by with association includes id -

android - Robolectric "INTERNET permission is required" -

java - Android raising EPERM (Operation not permitted) when attempting to send UDP packet after network connection -