Why url decoder doesn't get error decoding% 22. This is a double quote. When a programmer types a double quote in a string syntactically, they must use two double quotation marks "" to represent the double quote.
Example
string myString = "It\"s nice to meet you"; console.write(myString);
Output
Nice to meet you
But when url decrypts double quotes, why doesn't it break. After the string is passed through the url decoder, there is only one quote. Why does this not break the code?
Example
string myString = "It%22s nice to meet you"; myString = HttpUtility.UrlDecode(myString); console.Write(myString);
Output
Nice to meet you
source share