]> git.ipfire.org Git - thirdparty/cups.git/blobdiff - scheduler/client.c
Merge changes from CUPS 1.4svn-r8346.
[thirdparty/cups.git] / scheduler / client.c
index 0f088bd18897415a7ac0380bbc76e9aec0000dec..1e2f55d8d5f08cd2f74ecb4154c26af183db69a4 100644 (file)
@@ -1245,6 +1245,9 @@ cupsdReadClient(cupsd_client_t *con)      /* I - Client to read from */
       * Protect against malicious users!
       */
 
+      cupsdLogMessage(CUPSD_LOG_ERROR,
+                      "Request for non-absolute resource \"%s\"!", con->uri);
+
       if (!cupsdSendError(con, HTTP_FORBIDDEN, CUPSD_AUTH_NONE))
       {
        cupsdCloseClient(con);
@@ -1449,10 +1452,13 @@ cupsdReadClient(cupsd_client_t *con)    /* I - Client to read from */
                       strlen(con->uri) == 11)))
            {
             /*
-             * GET can only be done to configuration files under
+             * GET can only be done to configuration files directly under
              * /admin/conf...
              */
 
+             cupsdLogMessage(CUPSD_LOG_ERROR,
+                             "Request for subdirectory \"%s\"!", con->uri);
+
              if (!cupsdSendError(con, HTTP_FORBIDDEN, CUPSD_AUTH_NONE))
              {
                cupsdCloseClient(con);
@@ -1697,6 +1703,9 @@ cupsdReadClient(cupsd_client_t *con)      /* I - Client to read from */
              * /admin/conf...
              */
 
+             cupsdLogMessage(CUPSD_LOG_ERROR,
+                             "Request for subdirectory \"%s\"!", con->uri);
+
              if (!cupsdSendError(con, HTTP_FORBIDDEN, CUPSD_AUTH_NONE))
              {
                cupsdCloseClient(con);
@@ -1851,6 +1860,9 @@ cupsdReadClient(cupsd_client_t *con)      /* I - Client to read from */
              * /admin/conf...
              */
 
+             cupsdLogMessage(CUPSD_LOG_ERROR,
+                             "Request for subdirectory \"%s\"!", con->uri);
+
              if (!cupsdSendError(con, HTTP_FORBIDDEN, CUPSD_AUTH_NONE))
              {
                cupsdCloseClient(con);