mirror of https://github.com/LemmyNet/lemmy.git
parent
adeba99d38
commit
0a27432b65
|
@ -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}`;
|
||||
|
|
Loading…
Reference in New Issue