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