Skip to content

Commit

Permalink
remove UrlEncode for urls
Browse files Browse the repository at this point in the history
(check redirect after payment by 302 http code to not encoded location)
  • Loading branch information
vitaliidasaev committed May 8, 2020
1 parent 0aa7991 commit 25bbfae
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public string SuccessRedirectUrl
get { return _successRedirectUrl; }
set
{
_successRedirectUrl = HttpUtility.UrlEncode(value);
_successRedirectUrl = value;
if (_failedRedirectUrl == null)
{
_failedRedirectUrl = _successRedirectUrl;
Expand All @@ -51,7 +51,7 @@ public string FailedRedirectUrl
get { return _failedRedirectUrl; }
set
{
_failedRedirectUrl = HttpUtility.UrlEncode(value);
_failedRedirectUrl = value;
if (_cancelRedirectUrl == null)
_cancelRedirectUrl = _failedRedirectUrl;
}
Expand All @@ -63,7 +63,7 @@ public string CancelRedirectUrl
get { return _cancelRedirectUrl; }
set
{
_cancelRedirectUrl = HttpUtility.UrlEncode(value);
_cancelRedirectUrl = value;
if (_failedRedirectUrl == null)
_failedRedirectUrl = _cancelRedirectUrl;
}
Expand Down

0 comments on commit 25bbfae

Please sign in to comment.