mastodon/app
Renato "Lond" Cerqueira 9aba44ea79 Rescue when there's no extension in the remotable ()
* 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
2018-03-08 02:25:10 +01:00
..
chewy Full-text search for authorized statuses () 2018-02-09 23:04:47 +01:00
controllers Redirect from Web tag timeline to public tag timeline if not signed in () 2018-03-05 19:29:36 +01:00
helpers Do not default site_title with site_hostname in InstanceHelper () 2018-03-04 20:29:49 +01:00
javascript Fix cover behaviour of thumbnails that are wider than taller () 2018-03-07 12:02:05 +01:00
lib fix validation error (media only status) () 2018-03-08 01:22:47 +01:00
mailers Account archive download () 2018-02-21 23:21:32 +01:00
models Rescue when there's no extension in the remotable () 2018-03-08 02:25:10 +01:00
policies Account archive download () 2018-02-21 23:21:32 +01:00
presenters Redesign landing page (again) () 2018-02-22 01:03:48 +01:00
serializers Fix wrong target URIs in ActivityPub Add/Remove () 2018-03-07 05:58:24 +01:00
services Remove text requirement when media attached from statuses () 2018-03-07 08:28:52 +01:00
validators Validation of count works even when text of status is nil () 2018-02-04 12:32:41 +01:00
views In wide layout, columnize Mastodon features on landing page () 2018-03-07 08:59:27 +01:00
workers Federate pinned statuses over ActivityPub () 2018-03-04 09:19:11 +01:00