1

Possible Duplicate:
HttpServerUtility.UrlPathEncode vs HttpServerUtility.UrlEncode

When I call HttpUtility.UrlEncode(title) and use that for my URL, IIS gives me a 404.11 error.

From researching it seems I have to use HttpUtility.UrlPathEncode(title) due to the + signs, nad this works.

My question is why is there both, and when would I use the non-path one?

Community
  • 1
  • 1
KallDrexx
  • 27,229
  • 33
  • 143
  • 254
  • 3
    http://stackoverflow.com/questions/4145823/httpserverutility-urlpathencode-vs-httpserverutility-urlencode – TheZ Jun 20 '12 at 19:59

0 Answers0