Bug 143264

Summary: URLs with encoded hash mark %23 incorrectly passed off to handler
Product: [Applications] konversation Reporter: Lars DIECKOW <lars.dieckow>
Component: generalAssignee: Konversation Developers <konversation-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.0.1   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Lars DIECKOW 2007-03-20 17:22:43 UTC
Version:           1.0.1 (using KDE 3.5.6 "release 41.2" , openSUSE )
Compiler:          Target: i586-suse-linux
OS:                Linux (i686) release 2.6.18.2-34-default

To reproduce:

* Let somesay mention an URL which has a # as part of the path. Because # is a reserved character in URLs, it needs to be encoded as %23. Example: http://www.escaprism.org/audity/movie/iidx/AUDITY&SAKANA_BMS_Madness_-_SAKANA_%2310_Air(hardest).avi
Konversation automatically turns it into a complete clickable link.
* Activate the link by clicking on it. Konversation passes the link off to the http handler, Konqueror.

What erroneously happens:

* Konqueror requests ...SAKANA_#10_Air(hardest).avi and the server returns a Not Found error. Note the # character has been decoded, turning the tail of the URL after it into a fragment identifier, thus changing the URL.

What should happen:

* Konqueror requests ...SAKANA_%2310_Air(hardest).avi and the server delivers the correct resource.
Comment 1 Peter Simonsson 2007-04-20 18:36:57 UTC
Fixed in trunk, rev 656218. Will be in 1.1