开发者

Encode URL without encoding forward slashes?

开发者 https://www.devze.com 2023-03-01 02:08 出处:网络
Is there a way to e开发者_如何学运维ncode a URL without encoding the forward slashes in ASP.net? I mainly want to encode it so that spaces in file names don\'t mess up a result string the users can sh

Is there a way to e开发者_如何学运维ncode a URL without encoding the forward slashes in ASP.net? I mainly want to encode it so that spaces in file names don't mess up a result string the users can share files with.


Use Server.UrlPathEncode that us what it is for

0

精彩评论

暂无评论...
验证码 换一张
取 消