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/models/concerns
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
..
account_avatar.rb Fix #3807: Increase avatars to 400x400 max (#6651) 7 years ago
account_finder_concern.rb Fix AccountFinderConcern::AccountFinder#with_usernames (#5722) 7 years ago
account_header.rb Fix #6525: Make sure file is opened in LazyThumbnail processor (#6529) 7 years ago
account_interactions.rb Allow hiding of reblogs from followed users (#5762) 7 years ago
attachmentable.rb Fixes unknown mime type (#2822) 8 years ago
cacheable.rb Fix #248 - Reload all accounts when fetching from cache 8 years ago
omniauthable.rb Add additional first_name and last_name SAML attribute statement options, and modify Omniauthable concern to use full_name or first_name + last_name if not available (#6669) 7 years ago
paginable.rb Fix prev/next links on public profile page (#6497) 7 years ago
relationship_cacheable.rb Cache relationships in API (#6482) 7 years ago
remotable.rb Rescue when there's no extension in the remotable (#6358) 7 years ago
status_threading_concern.rb Introduce StatusThreadingConcern (#3490) 8 years ago
streamable.rb Define instance method outside #included (#3128) 8 years ago