diff --git a/ui/src/components/post-listing.tsx b/ui/src/components/post-listing.tsx index 9f991d085..49ec30343 100644 --- a/ui/src/components/post-listing.tsx +++ b/ui/src/components/post-listing.tsx @@ -1223,7 +1223,7 @@ export class PostListing extends Component { let post = this.props.post; if (post.url) { - params += `&url=${post.url}`; + params += `&url=${encodeURIComponent(post.url)}`; } if (this.props.post.body) { params += `&body=${this.props.post.body}`;