We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the esg-search backend is requested for an invalid URI like:
https://some-esgf.server/esg-search/search?project=x<s\>ev"q
A tomcat error message will be returned that contains sensitive information about the deployment like hostname (or container name) and port number:
HTTP Status 500 – Internal Server Error Type Exception Report Message Server returned HTTP response code: 400 for URL: http://solr-slave:8983/solr/datasets/select/
HTTP Status 500 – Internal Server Error
Type Exception Report
Message Server returned HTTP response code: 400 for URL: http://solr-slave:8983/solr/datasets/select/
My workaround is to surpress those messages on my reverse proxy with proxy_intercept_errors and a custom generic error message:
proxy_intercept_errors
[...] server { [...] proxy_intercept_errors on; # Replace all proxy_pass messages with our own [...] } [...]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If the esg-search backend is requested for an invalid URI like:
https://some-esgf.server/esg-search/search?project=x<s\>ev"q
A tomcat error message will be returned that contains sensitive information about the deployment like hostname (or container name) and port number:
My workaround is to surpress those messages on my reverse proxy with
proxy_intercept_errors
and a custom generic error message:The text was updated successfully, but these errors were encountered: