[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#268736: marked as done (cupsys: printer with hash in name is difficult to delete)



Your message dated Mon, 16 Jul 2007 23:16:08 +0900
with message-id <20070716141551.65A501A77EE@mail.topstudio.co.jp>
and subject line Bug#268736: cupsys: printer with hash in name is difficult to delete
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cupsys
Version: 1.1.20final+rc1-5
Severity: minor

a silly thing to do, but when first setting up cups & experimenting with
different settings I defined a printer named epsonStylusCX5200#3, it
wasn't the configuration I decided to keep, but I could never delete it
through the web interface... not a big deal, but annoying

Today I noticed it is due to the "delete" button using printer_name as a
key:

http://localhost:631/admin/?op=delete-printer&printer_name=epsonstyluscx5200#3

In effect, trying to delete a printer called only epsonstyluscx5200 due
to the special meaning '#' has in URLs

Changing the '#' to '%23' in both the "delete" URL & the
"confirm-delete" URL, I was able finally to get rid of this annoyance

Thanks,
Kenneth


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.4.26-2004-06-22
Locale: LANG=C, LC_CTYPE=C

Versions of packages cupsys depends on:
ii  adduser                3.59              Add and remove users and groups
ii  debconf                1.4.32            Debian configuration management sy
ii  gs-esp                 7.07.1-9          The Ghostscript PostScript interpr
ii  libc6                  2.3.2.ds1-16      GNU C Library: Shared libraries an
ii  libcupsimage2          1.1.20final+rc1-5 Common UNIX Printing System(tm) - 
ii  libcupsys2-gnutls10    1.1.20final+rc1-5 Common UNIX Printing System(tm) - 
ii  libgnutls11            1.0.16-7          GNU TLS library - runtime library
ii  libpam0g               0.76-22           Pluggable Authentication Modules l
ii  libpaper1              1.1.14-0.4        Library for handling paper charact
ii  libslp1                1.0.11-7          OpenSLP libraries
ii  patch                  2.5.9-2           Apply a diff file to an original
ii  zlib1g                 1:1.2.1.1-7       compression library - runtime

-- debconf information:
  cupsys/raw-print: true
  cupsys/backend: ipp, lpd, parallel, socket, usb


--- End Message ---
--- Begin Message ---
Version: 1.2.1-1
thanks

At Sat, 28 Aug 2004 16:55:45 -0400,
Kenneth Dombrowski wrote:
> Package: cupsys
> Version: 1.1.20final+rc1-5
> Severity: minor
> 
> a silly thing to do, but when first setting up cups & experimenting with
> different settings I defined a printer named epsonStylusCX5200#3, it
> wasn't the configuration I decided to keep, but I could never delete it
> through the web interface... not a big deal, but annoying
> 
> Today I noticed it is due to the "delete" button using printer_name as a
> key:
> 
> http://localhost:631/admin/?op=delete-printer&printer_name=epsonstyluscx5200#3
> 
> In effect, trying to delete a printer called only epsonstyluscx5200 due
> to the special meaning '#' has in URLs
> 
> Changing the '#' to '%23' in both the "delete" URL & the
> "confirm-delete" URL, I was able finally to get rid of this annoyance

At least CUPS 1.2 series disallow to use /, #, space in a printer name.
I close this bug.

Thanks,
-- 
Kenshi Muto
kmuto@debian.org

--- End Message ---

Reply to: