Comment 26 for bug 51419

Revision history for this message
Matt Zimmerman (mdz) wrote : Re: SRU: gksu

On Fri, Oct 27, 2006 at 01:43:14PM +0200, Michael Vogt wrote:
> Hi,
>
> I would like to ask for a SRU for gksu. The changelog is here:
>
> +gksu (1.9.3-1ubuntu2.1) edgy-proposed; urgency=low
> +
> + * debian/patches/01_quote_escape.diff:
> + - quote any " ' " charackters in the arguments so that it is
> + properly passed on to su/sudo (lp: #51419)
> +
> + -- Michael Vogt <email address hidden> Tue, 24 Oct 2006 15:46:56
> +0200
>
> The full debdiff:
> http://librarian.launchpad.net/4938156/gksu_1.9.3-1ubuntu2.1.debdiff
>
> The problem here is that ' is used by gksu as a seperator but if a '
> is also found in the commandline it is not properly escaped
> there. This patches adds the required escaping. This currently breaks
> update-managers call to synaptic in the "it" locale.

If this is attempting to quote for the shell, it won't work. Single quotes
can't be escaped with backslashes.

--
 - mdz