]> Untitled Git - lemmy.git/commit
validate post URLs on the backend (#990)
authoreiknat <68170752+eiknat@users.noreply.github.com>
Fri, 17 Jul 2020 22:46:59 +0000 (18:46 -0400)
committerGitHub <noreply@github.com>
Fri, 17 Jul 2020 22:46:59 +0000 (18:46 -0400)
commit03758a4f9232da8ceee849df57e17c4a8664cdfd
tree2c0495f92158c9f052687be4e75f0c660ed33350
parent77a2a5eb01fbc87048084906d350f560052c8fd5
validate post URLs on the backend (#990)

* added serverside url validation

* api.post: use if let instead of is_some

also add "invalid_url" to en.json

Co-authored-by: John Doe <dhas8m@protonmail.com>
server/src/api/post.rs
ui/translations/en.json