Konsole url query escaping, where is the code doing that?

Kurt Hindenburg kurt.hindenburg at gmail.com
Sat Jul 8 21:11:53 BST 2023


Add mailing list again w/ full message.

Kurt

> On Jul 8, 2023, at 3:50 PM, Mark Gaiser <markg85 at gmail.com> wrote:
> 
> Hi Hurt,
> 
> Looks like you're the main author of Konsole! Keep up the great work! I've been using it for years and - besides some tweaks deviating from the default - i love using it! I actually tried other terminal emulators but keep coming back to konsole!
> 
> But now I found an issue that keeps breaking my workflow but doesn't seem to have a way to disable. So i dived into the code thinking "ahh, i can find that easily, make a pr and go from there"... guess i was wrong!
> 
> In konsole when you paste an URL with query arguments, for example:
> "https://kde.org/?here=are&some=query&arguments=yup"
> Is pasted in konsole as:
> "https://kde.org/\?here\=are\&some\=query\&arguments\=yup <https://kde.org//?here\=are\&some\=query\&arguments\=yup>"
> 
> Note the added backslashes. This absolutely kills my workflow when I use konsole to do something with a url (say a curl command) and copy it back out to say a browser. That doesn't work! I then need to manually remove the backslashes and I found myself doing this so often that I just need to have a look at this and see if I can make it optional. But I can't find the code doing this, apparently. Would you be able to point me to the code that does this?
> 
> I thought it was the "Allow escape sequences for links" feature (under Konsole -> Edit profile -> Mouse -> Miscellaneous but that seems to be something else. Then I thought it was the UrlFilter class but that didn't seem to be either... Help? :)
> 
> Best regards,
> Mark Gaiser

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/konsole-devel/attachments/20230708/d921be5c/attachment.htm>


More information about the konsole-devel mailing list