[Pkg-cups-devel] Bug#685513: Error in templates/de/search.tmpl breaks searching for classes/jobs/printers in browsers set to german language.

Markus Lindenberg markus.lindenberg at gmail.com
Tue Aug 21 14:08:39 UTC 2012


Package: cups
Version: 1.4.4-7+squeeze1

Please note: This only affects people who have set their web browser
to prefer german language content. You have to look at the CUPS web
interface translated to german to be affected by this bug.
When I open the CUPS printers list at http://127.0.0.1:631/printers/
and enter *anything* in the search box and press "Suchen", the form is
submitted to a invalid URL:

http://127.0.0.1:631/printers/%7BTHIS_URL%7D?QUERY=asdf

Instead of a list of matching printers, a placehodler printer titled
"{THIS_URL}" with details consisting only of placeholders is shown.

The cause seems obvious when comparing the original template to the
localized version:

me at mystuff:~$ diff /usr/share/cups/templates/search.tmpl
/usr/share/cups/templates/de/search.tmpl
1c1
< <FORM ACTION="/{SECTION}/{?SEARCH_DEST}" METHOD="GET">
---
> <FORM ACTION="{THIS_URL}" METHOD="GET">



More information about the Pkg-cups-devel mailing list