about summary refs log tree commit diff
path: root/app/services/favourite_service.rb
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2017-04-27 17:06:47 +0200
committerGitHub <noreply@github.com>2017-04-27 17:06:47 +0200
commit2af4f3c4e22ab9a28a7fca49bee0ee2ed6256f27 (patch)
tree073f68695a0da1ee7dcf2f909a449b60286ad3f4 /app/services/favourite_service.rb
parentb8e7eee8372f927a5a3b51e95db3707d34c4ac4b (diff)
Improve shared status verification (#2525)
* Instead of parsing shared status contents verbatim, make roundtrip
to purported original URL. Confirm that the "original" URL is from the
same domain as the author it claims to be from.

* Fix obvious typo, add comment

* Use URI look-up first

* Add test, update Goldfinger dependency to make less useless HTTP requests per Webfinger lookup
Diffstat (limited to 'app/services/favourite_service.rb')
0 files changed, 0 insertions, 0 deletions