/*
- * "$Id: accept.c 4990 2006-01-26 02:21:45Z mike $"
+ * "$Id: accept.c 5023 2006-01-29 14:39:44Z mike $"
*
* "accept", "disable", "enable", and "reject" commands for the Common
* UNIX Printing System (CUPS).
request = ippNewRequest(op);
- httpAssembleURIf(uri, sizeof(uri), "ipp", NULL, "localhost", 0,
- "/printers/%s", argv[i]);
+ httpAssembleURIf(HTTP_URI_CODING_ALL, uri, sizeof(uri), "ipp", NULL,
+ "localhost", 0, "/printers/%s", argv[i]);
ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI,
"printer-uri", NULL, uri);
/*
- * End of "$Id: accept.c 4990 2006-01-26 02:21:45Z mike $".
+ * End of "$Id: accept.c 5023 2006-01-29 14:39:44Z mike $".
*/