Support Get-Printer-Attributes on /.
@@ -412,7 +412,7 @@ papplSystemFindPrinter(
pthread_rwlock_rdlock(&system->rwlock);
- if (resource && (!strcmp(resource, "/ipp/print") || (!strncmp(resource, "/ipp/print/", 11) && isdigit(resource[11] & 255))))
+ if (resource && (!strcmp(resource, "/") || !strcmp(resource, "/ipp/print") || (!strncmp(resource, "/ipp/print/", 11) && isdigit(resource[11] & 255))))
{
printer_id = system->default_printer_id;
resource = NULL;
