Bug 60026

Summary: When I click on a link ending with a "/" knode del the "/" before sending it to my customized viewer: /usr/bin/mozilla -remote openurl(%u,new-tab)
Product: [Unmaintained] knode Reporter: Saigam <saigam>
Component: generalAssignee: kdepim bugs <pim-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: luigiwalser
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Saigam 2003-06-18 23:14:25 UTC
Version:            (using KDE KDE 3.1.1a)
Installed from:    Gentoo Packages
Compiler:          gcc version 2.95.3 20010315 (release) 
OS:          Linux

When I click on a link ending with a "/" knode del the "/" before sending it to my customized viewer:      /usr/bin/mozilla -remote openurl(%u,new-tab)

Here is an sample URL:
http://www.unixreview.com/documents/s=8274/sam0306g/
Comment 1 David Walser 2003-11-01 12:14:49 UTC
Also, when a link ending in "/" appears in Knode, and you right-click it and Choose Copy Link Location it leaves it off.  The root of these problems are probably the same.
Comment 2 Roberto Teixeira 2003-11-01 13:06:48 UTC
*** Bug 61292 has been marked as a duplicate of this bug. ***
Comment 3 Roberto Teixeira 2003-11-01 13:09:44 UTC
Subject: kdepim/knode

CVS commit by maragato: 

Don't remove the ending slash from URL's

CCMAIL: 60026-done@bugs.kde.org


  M +0 -3      knarticlewidget.cpp   1.160


--- kdepim/knode/knarticlewidget.cpp  #1.159:1.160
@@ -1510,7 +1510,4 @@ void KNArticleWidget::anchorClicked(cons
   }
 
-  if (target.endsWith("/"))
-    target.truncate(target.length()-1);
-
   if((button==LeftButton)||(button==MidButton)) {
     KNGroup *g;