You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending an invalid request with a URL that is too long, nginx/OpenResty returns a 414 error code which is not handled by Kong's error handler (which is only configured to handle 50x errors). The expectation is that Kong's error handler also captures this, instead of exposing information about OpenResty and it's version. The information is not only provided in the HTML body, but also on the Server header (which typically has Kong's version number instead)
Steps To Reproduce
Call an API with a URL that is too long, e.g., http://{KONG_HOST}:{KONG_PORT}/{REPEAT SAME CHARACTER AT LEAST 10k TIMES}
Additional Details & Logs
Kong version (0.8.3)
Kong configuration (Default configuration file, regardless on what APIs are configured if any)
Ubuntu 14.04
The text was updated successfully, but these errors were encountered:
Summary
When sending an invalid request with a URL that is too long, nginx/OpenResty returns a 414 error code which is not handled by Kong's error handler (which is only configured to handle 50x errors). The expectation is that Kong's error handler also captures this, instead of exposing information about OpenResty and it's version. The information is not only provided in the HTML body, but also on the
Server
header (which typically has Kong's version number instead)Steps To Reproduce
http://{KONG_HOST}:{KONG_PORT}/{REPEAT SAME CHARACTER AT LEAST 10k TIMES}
Additional Details & Logs
0.8.3
)The text was updated successfully, but these errors were encountered: