Open ProfessorBaum opened 1 year ago
I've started looking into this and think I can see how I might be able to fix this, but given it would require changing quite a few things, I'd need some reliable test cases. Can you provide some links to sites that exhibit this behaviour?
If you're not comfortable dropping presumably-NSFW links here, you can also send them to <my-github-username>@protonmail.com
(obviously substituting for my username)
Thank you for this project! :)
It does work very well, but on sites with referrer protection this fails, while BetaSafety doesn't complain at all. (I can even use your extension and BetaSafety as a backend and it works!) I thought this might be because there it transmits the raw image via base64 but no, it just seems to send enough HTTP headers.
So what seems to be the solution is: the extension needs to send the request context to the server and in CensorCore the ImageHandler needs to set some HTTP headers before sending the request.