Skip to content

Commit

Permalink
fix(Payment): Fix wrong URL encoding with umlauts in parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
adlk committed Oct 24, 2017
1 parent 52ef285 commit a854614
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/ui/SubscriptionPopup.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) =>
Expand Down
2 changes: 1 addition & 1 deletion src/containers/ui/SubscriptionPopupScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit a854614

Please sign in to comment.