You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mastodon/app
Renato "Lond" Cerqueira 9aba44ea79 Rescue when there's no extension in the remotable (#6358)
* Rescue when there's no extension in the remotable
Sometimes the remotable is pointing to a directory with no file
extension. Maybe it should not be expecting to identify based on
extensions to begin with, but since it's the case, it should be ready
for it.

* Fix codeclimate issue

* Check if filename is nil instead of rescueing exception
Suggestion made in the PR

* Avoid concatenation issue if filename is nil
If filename is nil, extname was undefined

* Invert condition
Address PR comments
7 years ago
..
chewy
controllers
helpers
javascript Fix cover behaviour of thumbnails that are wider than taller (#6678) 7 years ago
lib fix validation error (media only status) (#6684) 7 years ago
mailers
models Rescue when there's no extension in the remotable (#6358) 7 years ago
policies
presenters
serializers
services
validators
views
workers