Opened 5 years ago

#1882 new defect

Nginx does not handle asterisk in OPTIONS request

Reported by: wes.wesk.tech@… Owned by:
Priority: minor Milestone:
Component: nginx-core Version: 1.17.x
Keywords: options Cc:
uname -a:
nginx -V: 1.17.3

Description

According to RFC 2616, this should be a valid request

OPTIONS * HTTP/1.1\r\n
Host: blah\r\n

Yet, if you try this, Nginx returns 400 Bad Request.

E.g. curl -X OPTIONS --request-target "*" https://nginx.org

Nginx should support the RFC and allow this type of request (even if it does absolutely nothing and returns an empty response).

See https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html

Change History (0)

Note: See TracTickets for help on using tickets.