Conversation
Notices
-
Embed this notice
@alex quick where does pleroma store uploads in the database i'm just trying to track down the user of the file
-
Embed this notice
@nekofag It doesn't. You can search for objects which contain that attachment by doing a complicated jsonb query on the objects table, but... you won't find the post because they deleted it already. Best thing you can do is TRUNCATE TABLE oauth_tokens; and make sure you're hosting media on a subdomain. I'll write an upload filter soon to restrict media attachments to certain mime types.
-
Embed this notice
@alex is there anyway i can avoid doing it with a subdomain, can i just write some apache junk
-
Embed this notice
@nekofag Subdomain is the best practice because it totally avoids this issue. It might be possible to return a special CSP just for that path, but I wouldn't play around.
-
Embed this notice
CSP rules only work on the domain level 😞