referer-check checks the wrong way
ImageServer.kt
if (request.header("Referer")?.startsWith("https://mangadex.org") == true) {
snapshot?.close()
Response(Status.FORBIDDEN)
so if the referer starts with mangadex we will send forbidden ...
I suppose it should be
if (request.header("Referer")?.startsWith("https://mangadex.org") == false) {
So it's now either
- null -> don't evaluate the Referer
- mangadex -> work
- not mangadex -> "There is an error in your image"-Error