Bug 136738 - The values in the 'Name' field of the 'Additional Tags' page are validated incorrectly.
Summary: The values in the 'Name' field of the 'Additional Tags' page are validated i...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kdeprint
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: KDEPrint Devel Mailinglist
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-02 22:12 UTC by Ashwini
Modified: 2011-05-27 18:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ashwini 2006-11-02 22:12:01 UTC
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.
Comment 1 Kurt Pfeifle 2007-01-09 17:32:56 UTC
Duplicate of bug 136735 (by same reporter).

*** This bug has been marked as a duplicate of 136735 ***
Comment 2 Kurt Pfeifle 2007-01-10 21:17:42 UTC
Ooops.... realizing now that this isn't a duplicate of bug 136735 (wishlist), but a different bug...
Comment 3 John Layt 2011-05-27 18:24:25 UTC
KDEPrint is obsolete, unmaintained and will never be revived.  Closing all open bugs.