Closed michaelrsweet closed 21 years ago
CUPS.org User: mike
Fixed in CVS for 1.1.20; see attached patch.
"str120.patch":
RCS file: /development/cvs/cups/cgi-bin/ipp-var.c,v retrieving revision 1.34 diff -u -r1.34 ipp-var.c --- ipp-var.c 2003/04/08 03:45:14 1.34 +++ ipp-var.c 2003/06/14 16:51:08 @@ -101,13 +101,19 @@ char method[HTTP_MAX_URI], username[HTTP_MAX_URI], hostname[HTTP_MAX_URI],
/* Hexadecimal conversion characters */
DEBUG_printf(("
ippSetCGIVars(response=%p, filter_name=\"%s\", filter_value=\"%s\", prefix=\"%s\")\n", @@ -270,12 +276,36 @@ case IPP_TAG_URI : if (strchr(attr->values[i].string.text, ':') != NULL) {
hostname, &port, rawresource);
if (strcmp(method, "ipp") == 0 ||
strcmp(method, "http") == 0)
{
Version: 1.1.19rc4 CUPS.org User: thomas.kaiser.phg-online
After creating a printer called "täst" I haven't been able to administrate it via admin.cgi and a browser running on a macintosh or windows.
The name of the queue will be displayed correctly but the URL is wrong: "t%st" instead of "t%E4st".
So all operations like eg.
will fail because the name of the queue cannot be recognized by the admin.cgi itself. In error_log appears a line
On windows the name is displayed incorrectly and the printer cannot be found, too (seems like Unicode is used):
If I try it locally on linux everything works as expected: