-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTML forbidden page #35
Comments
Right now, the response from the bouncer is hardcoded to be a text, that's why in the Response Header the content-type is |
Is there any update on if this is feasible or not? I have tried the above but it did not work for me. I know it's a fairly low-priority addition, but it would make it nicer |
Hello @fbonalair that would be great any news on this? |
Hello,
I tried a sample HTML code as a return from the bouncer when blocked.
But, It's showed on the browser as plain text and not HTML page.
Is it planned to switch the bouncer reply to HTML ?
CROWDSEC_BOUNCER_BAN_RESPONSE_MSG = "<!DOCTYPE html><html lang=\"en\"><head><title>403</title></head><body><h1>403</h1><h2>Access forbidden !</h2></body></html>"
The text was updated successfully, but these errors were encountered: