Owin的URL编码怎么搞?以前都是HttpUtility.UrlEncode之类的,现在连system.web都没了,肿么办?
编码:
Uri.EscapeDataString(name)
解码:
Uri.UnescapeDataString(name)
2023-11-29 16:26:52
Owin的URL编码怎么搞?以前都是HttpUtility.UrlEncode之类的,现在连system.web都没了,肿么办?
编码:
Uri.EscapeDataString(name)
解码:
Uri.UnescapeDataString(name)