Compare commits

...

1 commit

Author SHA1 Message Date
ffaafb1db5 Encode crosspost url. Fixes #1083 2020-08-15 18:47:24 -04:00

View file

@ -1223,7 +1223,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
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}`;