Bug 203260 - Konsole bookmarks don't save Uppercase in URL
Summary: Konsole bookmarks don't save Uppercase in URL
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-10 04:45 UTC by Carl Fitch
Modified: 2011-07-30 13:27 UTC (History)
3 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 Carl Fitch 2009-08-10 04:45:06 UTC
Version:            (using KDE 4.3.0)
OS:                Linux
Installed from:    Ubuntu Packages

When saving a Konsole bookmark, the URL/Command is changed to lower case. This prohibits use of Uppercase parameters.
Example: With the following URL the ssh parameter "X" which turns on X-Windows forwarding and "C" which turns on compression for the connection, are required to be uppercase.
 ssh://user@example.com -XC
is changed to:
 ssh://user@example.com -xc
This causes the command, of course, to fail. Since UNIX parameters are case sensitive this will kill the utility of bookmarks in Konsole.
Comment 1 Kurt Hindenburg 2009-10-19 06:01:29 UTC
In trunk, it won't handle 'ssh://user@example.com -XC' at all.  I had altered the code to handle ports.  I'll have to look at the code for this.
Comment 2 Kurt Hindenburg 2009-10-19 06:15:29 UTC
This looks like a KBookmarkManager issue... it ignores the 'example.com -XC' and doesn't save that portion.

Did this every work?
Comment 3 Carl Fitch 2009-10-19 23:32:16 UTC
Yes, works quite nicely in 3.5.10 or earlier. Here is an example that connects to a server, then runs rdesktop to connect to a headless VirtualBox session.

ssh -XYC ewr.example.net rdesktop -u cfit -d example.net -g 1024x768 -x l -a 16 -p password 172.16.0.175 &

uname: Linux pavilion 2.6.16.54-0.2.5-bigsmp #1 SMP Mon Jan 21 13:29:51 UTC 2008 i686 athlon i386 GNU/Linux

issue: Welcome to SUSE LINUX 10.1 (i586) - Kernel \r (\l).
Comment 4 Carl Fitch 2009-12-17 06:17:56 UTC
Just checked on Kubuntu with KDE 4.4 beta 1. The behavior is worse, now when you try to add -X to an ssh://user@example.com it wipes out the example.com part of the URL.
Comment 5 Carl Fitch 2011-02-24 21:32:51 UTC
OK, this is now officially broken to the point of being a waste of my hard drive space!!!!!! Not only can I not put in a command line in a bookmark for a command line PROGRAM. But, now it eats the IP address to connect to and any parameters that need to be passed.
- Start with entering ssh://172.16.0.76
- Close the bookmarks editor
- Click the bookmark and it prints ssh 172.16.0.76
- Open bookmarks editor and add parameters: ssh://172.16.0.76 -l bob -XYC
- Close the bookmark editor
- Select the bookmark
- Note that it prints "ssh " and looks back at you like "what now"
Comment 6 Jekyll Wu 2011-07-17 11:39:23 UTC
'ssh -XC user@example.com'  works well for me. The uppercase problem seems fixed now.

And I do not understand why you insist saving the bookmark as 'ssh://172.16.0.76 -l bob -XYC'. That is neither URL nor command.  It looks like both but it is nothing. 'ssh -XYC bob@172.16.0.76 ' is clearer and easier to understand or test.
Comment 7 Jekyll Wu 2011-07-25 06:40:38 UTC
Should this report be closed now? At least the uppercase problem seems gone.