[cups.bugs] [LOW] STR #1752: Web UI forgets device URI
kmuto.debian
kmuto at debian.org
Tue Jun 6 08:22:05 PDT 2006
[STR New]
This relates with Debian bug#370409 (http://bugs.debian.org/370409).
choose-uri screen always shows "<URI scheme>|unknown"
even there is an old URI.
I noticed DEVICE_URI value won't be passed to choose-uri.tmpl.
Strangely when I passed lowcase string "device_uri", it worked.
--- admin.c.orig 2006-06-06 23:47:24.000000000 +0900
+++ admin.c 2006-06-07 00:14:59.000000000 +0900
@@ -692,7 +692,8 @@
*/
if (strncmp(attr->values[0].string.text, var, strlen(var)) == 0)
- cgiSetVariable("DEVICE_URI", attr->values[0].string.text);
+ /* cgiSetVariable("DEVICE_URI", attr->values[0].string.text); */
+ cgiSetVariable("device_uri", attr->values[0].string.text);
}
/*
Link: http://www.cups.org/str.php?L1752
Version: 1.2-current
More information about the cups
mailing list