]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Stop advertising the HTTP methods that are supported (Issue #5540)
authorMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 11 Mar 2019 18:01:21 +0000 (14:01 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Mon, 11 Mar 2019 18:01:21 +0000 (14:01 -0400)
CHANGES.md
scheduler/client.c

index 072a58e3fa7df6b2dcf22f1b0b8fb63e9a1154bc..624921b5007a818ea2674922cb44289501f21ec8 100644 (file)
@@ -35,6 +35,7 @@ Changes in CUPS v2.3b8
 - Fixed some PPD caching and IPP Everywhere PPD accounting/password bugs
   (Issue #5535)
 - Fixed `PreserveJobHistory` bug with time values (Issue #5538)
+- The scheduler no longer advertises the HTTP methods it supports (Issue #5540)
 - Localization updates (Issue #5461, Issues #5471, Issue #5481, Issue #5486,
   Issue #5489, Issue #5491, Issue #5492, Issue #5493, Issue #5494, Issue #5495,
   Issue #5497, Issue #5499, Issue #5500, Issue #5501, Issue #5504)
index 153a6e4432b0eb01128c8e02d5e605c305c84da6..df146f4c2ea666ccca558534ac914bcd4f4fd24d 100644 (file)
@@ -951,8 +951,6 @@ cupsdReadClient(cupsd_client_t *con)        /* I - Client to read from */
       }
 
       httpClearFields(con->http);
-      httpSetField(con->http, HTTP_FIELD_ALLOW,
-                  "GET, HEAD, OPTIONS, POST, PUT");
       httpSetField(con->http, HTTP_FIELD_CONTENT_LENGTH, "0");
 
       if (!cupsdSendHeader(con, HTTP_STATUS_OK, NULL, CUPSD_AUTH_NONE))