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
精彩评论