lemmy/crates
flamingos-cant 5769a33a13 Use magic number to detemine file type (#5225)
* Revert "Guess image mime type from file extension (fixes #5196) (#5212)"

This reverts commit 63ea99d38a.

* Use magic numbers to determine file type.

* fmt

* Don't wrap response in an option

* Regen Cargo.lock

* Clean-up + guess mime type from extension if server is unresponsive

* Move some things about.

* Some cleanup.

* Removing comment lines.

---------

Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-12-04 14:41:12 +01:00
..
api Revert "Adding ability to restore content on user unban. (#4845)" 2024-11-04 14:17:38 +01:00
api_common Use magic number to detemine file type (#5225) 2024-12-04 14:41:12 +01:00
api_crud Avoid stack overflow when fetching nested comments, reduce max comment depth to 50 (#5009) 2024-10-01 10:10:14 +02:00
apub Fetch community mods synchronously (#5169) 2024-11-13 09:55:16 +01:00
db_perf Remove PersonInsertForm builder (#4779) 2024-06-06 08:29:18 -04:00
db_schema Return content of removed comments for admins (ref #5232) (#5245) 2024-12-03 12:41:01 +01:00
db_views Return content of removed comments for admins (ref #5232) (#5245) 2024-12-03 12:41:01 +01:00
db_views_actor Make sure you can view your moderated deleted and removed communities. (#4912) 2024-07-23 12:38:54 -04:00
db_views_moderator Fixing extra modlog entries when post_id or comment_id is given. (#4664) 2024-04-25 10:26:17 +02:00
federate chore(deps): update rust crate mockall to 0.13.0 (#4946) 2024-08-01 13:59:40 -04:00
routes Allow bypassing image proxy for specific domains (#5223) 2024-12-03 12:41:01 +01:00
utils Allow bypassing image proxy for specific domains (#5223) 2024-12-03 12:41:01 +01:00