Bug 60026 - 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)
Summary: When I click on a link ending with a "/" knode del the "/" before sending it ...
Status: RESOLVED FIXED
Alias: None
Product: knode
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 61292 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-06-18 23:14 UTC by Saigam
Modified: 2003-11-01 13:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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;