gksu handles quoted strings wrongly

Bug #1186676 reported by Victor Engmark on 2013-06-02
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
gksu (Ubuntu)
Undecided
Unassigned

Bug Description

Reported upstream: https://savannah.nongnu.org/bugs/index.php?40023

To reproduce (based on http://askubuntu.com/a/288506/10371):

Compare the first five commands:
echo 'foo\ bar'
sudo echo 'foo\ bar'
gksudo -- echo 'foo\ bar'
gksudo --su-mode -- echo 'foo\ bar'
gksu --sudo-mode -- echo 'foo\ bar'

To this:
gksu -- echo 'foo\ bar'

The last command prints "foo bar" rather than "foo\ bar" (excluding the quotes).

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: gksu 2.0.2-6ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-22.33-generic 3.8.11
Uname: Linux 3.8.0-22-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Sun Jun 2 09:35:52 2013
InstallationDate: Installed on 2012-06-22 (344 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
MarkForUpload: True
SourcePackage: gksu
UpgradeStatus: Upgraded to raring on 2013-05-04 (28 days ago)

Victor Engmark (victor-engmark) wrote :
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gksu (Ubuntu):
status: New → Confirmed
description: updated
Changed in gksu (Ubuntu):
status: Confirmed → Triaged
Dario CIPRUT (dciprut) wrote :

Just to confirm the bug subsists in 14.04 LTS.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers