[Kde-print-devel] [Bug 136738] New: The values in the 'Name' field of the 'Additional Tags' page are validated incorrectly.

Ashwini ashredsjsu at gmail.com
Thu Nov 2 22:12:02 CET 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=136738         
           Summary: The values in the 'Name' field of the 'Additional Tags'
                    page  are validated incorrectly.
           Product: kdeprint
           Version: unspecified
          Platform: unspecified
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: kde-print-devel kde org
        ReportedBy: ashredsjsu gmail com


Version:            (using KDE KDE 3.5.4)
OS:                Linux

The values entered into the 'Name' field are being validated incorrectly and are not being checked for spaces and quotes.
e.g.  Enter string “user1“ for  the value in the 'Name' field in the first row.
      Enter string “user2” for the value in the 'Name' field in the second row.
      Enter string “user3 “””  ”””” for the value in the 'Name' field in the third row.
and select 'Print' the argument list in the cups error-log is shown below:

 StartJob: argv = "Printer","93","guest","printers.html","1","user1= user2= user3""" """= multiple-document-handling=separate-documents-collated-copies","/var/spool/cups/d00093-001"

The value entered for the 'Name' field should be validated to not contain quotes and spaces, which is not happening here. 

Another observed behaviour is when the values are entered into the 'Name' field the validation takes place only for the first two rows.
e.g.  Enter string  “"user1"“ for  the value in the 'Name' field in the first row.
      Enter string  “"user2"” for the value in the 'Name' field in the second row.
      Enter string  “"user3"” for the value in the 'Name' field in the third row.
and select 'Print' error message shows up for the first and second row entries and the enteries after the second row are not validates

 StartJob: argv = "Printer","93","guest","printers.html","1","user1= user2= "user3"= multiple-document-handling=separate-documents-collated-copies","/var/spool/cups/d00093-001"

The value entered for the 'Name' field should be validated for all rows, which is not happening here.


More information about the Kde-print-devel mailing list