Revert back to using URLHelpers.URLEncode

Revert back to using URLHelpers.URLEncode instead of
HTTPUtility.UrlEncode.
This commit is contained in:
Leo Lam 2015-01-12 02:31:33 -05:00
parent 166e4bd126
commit e9e5b14e75

View file

@ -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)
{