我正在使用 UrlRewritingNet.UrlRewriter.dll出于 url 重写的目的,坦率地说,我对这些东西很陌生。我的问题是,我想用 - 替换我的 url 中的 %20。
最佳答案
HttpUtility.UrlDecode()做你需要的。
关于c# - 如何在 Url Rewriting 中用 - 替换 %20,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8313287/
我正在使用 UrlRewritingNet.UrlRewriter.dll出于 url 重写的目的,坦率地说,我对这些东西很陌生。我的问题是,我想用 - 替换我的 url 中的 %20。
最佳答案
HttpUtility.UrlDecode()做你需要的。
关于c# - 如何在 Url Rewriting 中用 - 替换 %20,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8313287/
相关文章:
C#/.Net : Returning a file to the browser?
javascript - 使用 HTMLEncode 来显示上传的文本是否足够?
c# - 是否可以在 C#、asp.net 中更改复选框的 GUI?
iis-7 - Coldfusion 9 和 IIS7 URL 重写
c# - 如何获得 google-cardboard 相机 FOV?
c# - PInvoke c++ dll from c# - 尝试加载格式不正确的程序。 (来自 HRESULT : 0x8007000B) 的异常
c# - 使用 WinAppDriver 自动化 DevExpress 电子表格/ GridView