Permalink
Browse files

fix(Payment): Fix wrong URL encoding with umlauts in parameters

  • Loading branch information...
adlk committed Oct 24, 2017
1 parent 52ef285 commit a8546142f2bf6dbcad40f6a03d45ff557324b5bb
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/components/ui/SubscriptionPopup.js
  2. +1 −1 src/containers/ui/SubscriptionPopupScreen.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) =>
@@ -24,7 +24,7 @@ export default class SubscriptionPopupScreen extends Component {
render() {
return (
<SubscriptionPopup
url={decodeURIComponent(this.props.router.params.url)}
url={this.props.router.params.url}
closeWindow={() => window.close()}
completeCheck={e => this.completeCheck(e)}
isCompleted={this.state.complete}

0 comments on commit a854614

Please sign in to comment.