You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by GitBox <gi...@apache.org> on 2020/03/30 07:44:51 UTC
[GitHub] [zookeeper] maoling commented on issue #1296: ZOOKEEPER-3772:
JettyAdminServer should not allow Http TRACE method
maoling commented on issue #1296: ZOOKEEPER-3772: JettyAdminServer should not allow Http TRACE method
URL: https://github.com/apache/zookeeper/pull/1296#issuecomment-605837479
- The TRACE method is primarily used for debugging and testing purposes. Jetty has disabed trace method, but the embed one don't. For security issues, it's doable.
- A simple test. +1
```
# After
curl -X TRACE http://localhost:8088/commands
[nothing]
# Before
curl -X TRACE http://localhost:8088/commands
TRACE /commands HTTP/1.1
Accept: */*
User-Agent: curl/7.54.0
Host: localhost:8088
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services