From a8546142f2bf6dbcad40f6a03d45ff557324b5bb Mon Sep 17 00:00:00 2001 From: Stefan Malzner Date: Tue, 24 Oct 2017 15:22:23 +0200 Subject: [PATCH] fix(Payment): Fix wrong URL encoding with umlauts in parameters --- src/components/ui/SubscriptionPopup.js | 2 +- src/containers/ui/SubscriptionPopupScreen.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/ui/SubscriptionPopup.js b/src/components/ui/SubscriptionPopup.js index 72b6ccd98..5aae2c47a 100644 --- a/src/components/ui/SubscriptionPopup.js +++ b/src/components/ui/SubscriptionPopup.js @@ -57,7 +57,7 @@ export default class SubscriptionPopup extends Component { className="subscription-popup__webview" autosize - src={url} + src={encodeURI(url)} disablewebsecurity onDidNavigate={completeCheck} // onNewWindow={(event, url, frameName, options) => diff --git a/src/containers/ui/SubscriptionPopupScreen.js b/src/containers/ui/SubscriptionPopupScreen.js index d17477b1d..0b6432e50 100644 --- a/src/containers/ui/SubscriptionPopupScreen.js +++ b/src/containers/ui/SubscriptionPopupScreen.js @@ -24,7 +24,7 @@ export default class SubscriptionPopupScreen extends Component { render() { return ( window.close()} completeCheck={e => this.completeCheck(e)} isCompleted={this.state.complete}