Index: scheduler/ipp.c =================================================================== --- scheduler/ipp.c (revision 8118) +++ scheduler/ipp.c (working copy) @@ -6785,12 +6785,17 @@ * Is the destination valid? */ + if (strcmp(uri->name, "printer-uri")) + { + send_ipp_status(con, IPP_BAD_REQUEST, _("No printer-uri in request!")); + return; + } + httpSeparateURI(HTTP_URI_CODING_ALL, uri->values[0].string.text, scheme, sizeof(scheme), username, sizeof(username), host, sizeof(host), &port, resource, sizeof(resource)); - if (!strcmp(resource, "/") || - (!strncmp(resource, "/jobs", 5) && strlen(resource) <= 6)) + if (!strcmp(resource, "/")) { dest = NULL; dtype = (cups_ptype_t)0;