-
Notifications
You must be signed in to change notification settings - Fork 79
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
Error message from server contains extraneous markup #915
Comments
Oh, that's probably coming from your web server (apache/nginx)! Is this reproducible on a vanilla installation by posting an enormous file at it? Could you please share some information about the versions you're running as well as any custom config, web server config etc? If you're running nginx especially |
@robbieaverill you are right - I could only reproduce this on SilverStripe Platform. Fresh SS4 installation doesn't seem to have this :) Should probably close and raise with the Platform instead? |
@gmlnchv I think you can leave the issue open, but maybe raise a helpdesk issue and reference this GitHub issue in it |
The frontend logic should be looking at the status code as well as the content type of the response. If it's |
@robbieaverill Still worthwhile raising with the helpdesk or can be fixed here you think? |
@gmlnchv I would suggest raising a ticket and reference this issue |
This is still an issue. I replicated earlier today by uploading a 13mb image to asset-admin on demo.silverstripe.org. |
Fixed in #1138 |
Re-opening, linked PR hasn't been merged yet |
Overview
Error messages that come straight from the server are not readable to the CMS user.
One example is PDF files exceeding the specified maximum file size (for the server) seem to have some extraneous markup surrounding the error message.
Recreation steps
Acceptance criteria
Notes
The text was updated successfully, but these errors were encountered: