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 -

mongodb - Multiple $and with multiple $or in $match mongoose -

Teradata TPT_INFRA: TPT02640: Error: Conflicting column count -