Skip to content

Commit

Permalink
threeds: improve host comparison on return url
Browse files Browse the repository at this point in the history
  • Loading branch information
jlejoux committed Jul 23, 2019
1 parent 5f530d4 commit 2323c3e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ public void error() {
* @return A WebViewReturnAction containing the return type, value and success or null if not from ProcessOut
*/
public static WebViewReturnAction handleProcessOutReturn(Uri intentData) {
if (!intentData.getHost().contains("processout"))
if (intentData.getHost().compareToIgnoreCase("processout.return") != 0)
return null;

String token = intentData.getQueryParameter("token");
Expand Down

0 comments on commit 2323c3e

Please sign in to comment.