Removing from URI Relative Path

前端 未结 4 560
一生所求
一生所求 2021-01-03 20:09

I am generating a relative path from 1 directory to another. If the OutputDirectoryName property is a directory containing spaces, the spaces are encoded using %20, rather t

4条回答
  •  情话喂你
    2021-01-03 21:01

    Try looking at Server.UrlDecode: http://msdn.microsoft.com/en-us/library/6196h3wt.aspx

    The space character is not the only one that is encoded.

提交回复
热议问题