mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 17:56:51 +13:00
Revert back to using URLHelpers.URLEncode
Revert back to using URLHelpers.URLEncode instead of HTTPUtility.UrlEncode.
This commit is contained in:
parent
166e4bd126
commit
e9e5b14e75
1 changed files with 1 additions and 2 deletions
|
@ -29,7 +29,6 @@ You should have received a copy of the GNU General Public License
|
|||
using System.ComponentModel;
|
||||
using System.Drawing.Design;
|
||||
using System.IO;
|
||||
using System.Web;
|
||||
|
||||
namespace ShareX.UploadersLib
|
||||
{
|
||||
|
@ -169,7 +168,7 @@ public string GetUriPath(string filename, string subFolderPath = null)
|
|||
filename = Path.GetFileNameWithoutExtension(filename);
|
||||
}
|
||||
|
||||
filename = HttpUtility.UrlEncode(filename);
|
||||
filename = URLHelpers.URLEncode(filename);
|
||||
|
||||
if (subFolderPath == null)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue