summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2018-11-26 19:38:23 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2018-11-26 19:38:23 -0500
commit608026e5aaed1b1c510814d3020aa8241d78f905 (patch)
treea181d1dd2478bf837f4e9b946cb0bfdd0832d28d
parentfed4573fad7b8c5be9d0c69a43c183decad42f1a (diff)
downloadlighttpd-git-608026e5aaed1b1c510814d3020aa8241d78f905.tar.gz
[core] fix typo
-rw-r--r--src/response.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/response.c b/src/response.c
index aa02b529..7df36691 100644
--- a/src/response.c
+++ b/src/response.c
@@ -491,7 +491,7 @@ handler_t http_response_prepare(server *srv, connection *con) {
}
if (con->request.http_method == HTTP_METHOD_OPTIONS &&
- con->uri.path->ptr[0] == '*' && con->uri.path_raw->ptr[1] == '\0') {
+ con->uri.path->ptr[0] == '*' && con->uri.path->ptr[1] == '\0') {
/* option requests are handled directly without checking of the path */
http_header_response_append(con, HTTP_HEADER_OTHER, CONST_STR_LEN("Allow"), CONST_STR_LEN("OPTIONS, GET, HEAD, POST"));