[cups.bugs] [LOW] STR #4020: Commas within marker supply names define extra marker names
Peter Hurley
peter at hurleysoftware.com
Fri Feb 3 14:38:03 PST 2012
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New]
Since commas are used to delimit lists of attributes, marker supply names
that contain commas are misinterpreted as additional marker names.
For example, "Genuine Xerox Solid Ink Cyan, Phaser 8560/8560MFP, P/N
108R00723" is interpreted as 3 separate markers:
Genuine Xerox Solid Ink Cyan
Phaser 8560/8560MFP
P/N 108R00723
The SNMP supplies are properly quoted in the backend; the problem lies in
option parsing and attribute setting in the scheduler. Further, loading
and saving printers.conf would need modification to preserve the marker
name integrity.
Attached is output from 'testsupplies' and the corresponding printers.conf
Link: http://www.cups.org/str.php?L4020
Version: 1.5.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xrx8560_supplies_report
Type: application/octet-stream
Size: 3956 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20120203/a0ac56a0/attachment.obj>
More information about the cups
mailing list