Bug 311543 - Double quotes and backslashes removed from profile command arguments.
Summary: Double quotes and backslashes removed from profile command arguments.
Status: CONFIRMED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.8.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: reproducible
: 346312 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-12-11 20:07 UTC by Mike
Modified: 2017-02-13 19:04 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2012-12-11 20:07:56 UTC
I have the following command in a profile's command field:
isql-fb -u sysdba -p example "192.168.2.8:d:\qc\Database\QUANTUM.FDB"
It works after I first create it but by the time I close and reopen konsole the profile no longer works.
Looking at the command it switched to:
isql-fb -u sysdba -p example 192.168.2.8:d:qcDatabaseQUANTUM.FDB

which of course does not work.

My workaround was to create a script that has the full command and my konsole profile loads that script instead.

I looked around a little trying to see if this was a bug previously reported but I am not yet a skilled bugfinder. : )

Thanks,
Mike

Reproducible: Always
Comment 1 Jekyll Wu 2012-12-13 13:02:49 UTC
Thanks for reporting .


I did some initial investigation. It should be related with ShellCommand class and  KShell::splitArgs().
Comment 2 Kurt Hindenburg 2017-02-13 19:03:42 UTC
*** Bug 346312 has been marked as a duplicate of this bug. ***
Comment 3 Kurt Hindenburg 2017-02-13 19:04:16 UTC
I have some bookmarks for ssh connexion with a pipe for saving my output like this one : 
ssh admin@192.168.1.1 | tee -a /repertory/save.txt

When I select this bookmark, it appears on my terminal like 
ssh admin@192.168.1.1 %7C tee -a /repertory/save.txt