Skip to content

Commit

Permalink
fixes #126 by adding encodeURI to event name
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshman committed Feb 8, 2017
1 parent d308538 commit 9fedb72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reactJS/app/components/EventShareComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class EventShareComponent extends Component {
// starting point of this component.
render() {
let eventId = this.props.params.eventId;
let eventShareURL = window.location.origin + '/event/' + eventId;
let eventShareURL = window.location.origin + '/event/' + encodeURI(eventId);

return (
<div>
Expand Down

0 comments on commit 9fedb72

Please sign in to comment.