Bug 143264 - URLs with encoded hash mark %23 incorrectly passed off to handler
Summary: URLs with encoded hash mark %23 incorrectly passed off to handler
Status: RESOLVED FIXED
Alias: None
Product: konversation
Classification: Applications
Component: general (show other bugs)
Version: 1.0.1
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Konversation Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-20 17:22 UTC by Lars DIECKOW
Modified: 2007-04-20 18:36 UTC (History)
0 users

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 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