Owin的URL编码怎么搞?以前都是HttpUtility.UrlEncode之类的,现在连system.web都没了,肿么办?

Owin的URL编码怎么搞?以前都是HttpUtility.UrlEncode之类的,现在连system.web都没了,肿么办?

编码:

Uri.EscapeDataString(name)

解码:

Uri.UnescapeDataString(name)

posted @ 2016-03-04 09:09  毒逆天  阅读(406)  评论(0编辑  收藏  举报