Encode crosspost url. Fixes #1083
This commit is contained in:
parent
dd0418af18
commit
ffaafb1db5
1 changed files with 1 additions and 1 deletions
2
ui/src/components/post-listing.tsx
vendored
2
ui/src/components/post-listing.tsx
vendored
|
@ -1223,7 +1223,7 @@ export class PostListing extends Component<PostListingProps, PostListingState> {
|
||||||
let post = this.props.post;
|
let post = this.props.post;
|
||||||
|
|
||||||
if (post.url) {
|
if (post.url) {
|
||||||
params += `&url=${post.url}`;
|
params += `&url=${encodeURIComponent(post.url)}`;
|
||||||
}
|
}
|
||||||
if (this.props.post.body) {
|
if (this.props.post.body) {
|
||||||
params += `&body=${this.props.post.body}`;
|
params += `&body=${this.props.post.body}`;
|
||||||
|
|
Loading…
Reference in a new issue