Bug 72062

Summary: up button should not remove the query string
Product: [Applications] konqueror Reporter: Leo Savernik <l.savernik>
Component: khtmlAssignee: Konqueror Bugs <konqueror-bugs-null>
Status: RESOLVED UNMAINTAINED    
Severity: minor CC: lex.lists
Priority: NOR    
Version First Reported In: SVN   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Leo Savernik 2004-01-07 15:46:40 UTC
The up button provides a wonderful way to effectively remove the last path 
element from an url, even for web pages, which makes navigating through 
well-structured documents a joy. 
 
Though, when the url contains a query string, the first invocation of the up 
button does not remove the last path element, but removes the query string 
instead. Only after that has happened, path elements can be removed. 
 
Steps to reproduce: 
1. Go to 
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/khtml/?sortby=date#dirlist 
2. Press up button 
 
Expected results: 
Url should read: 
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/?sortby=date#dirlist 
 
Actual results: 
Url reads: 
http://webcvs.kde.org/cgi-bin/cvsweb.cgi/kdelibs/khtml/#dirlist 
 
I'm not 100% sure whether this is a valid bug as there might be a certain 
cause why the query string is removed. If there is one, please enlighten me.
Comment 1 Siegbert Baude 2004-11-13 01:44:07 UTC
I would like to invite all visitors of this bug to comment on my proposal in
http://bugs.kde.org/show_bug.cgi?id=93192 
Comment 2 lexual 2005-04-19 01:35:53 UTC
confirming for 3.4.0.
I'm not 100% what the behaviour should be but I do believe the current behaviour is incorrect.

Here's my 2 cents.

What should the behaviour for the up button be for the URL:
http://bugs.kde.org/show_bug.cgi?id=72062#c1 ?

Currently the behaviour is to go to:
http://bugs.kde.org/show_bug.cgi#c1
http://bugs.kde.org/

The bug reporter thinks that the behaviour should be:
http://bugs.kde.org/show_bug.cgi#c1
I don't see the point of going to #c1 because the likelihood of that link being valid is small.

My opinion is that the behaviour should be:
http://bugs.kde.org/show_bug.cgi?id=72062
http://bugs.kde.org/show_bug.cgi
http://bugs.kde.org/
Comment 3 Leo Savernik 2005-04-19 12:24:02 UTC
Am Dienstag, 19. April 2005 01:35 schrieb Lex Hider:
[...]
> The bug reporter thinks that the behaviour should be:
> http://bugs.kde.org/show_bug.cgi#c1
> I don't see the point of going to #c1 because the likelihood of that link
> being valid is small.


No! I do not! The query string is the part of the url after the question mark. 
What I mean is:

http://cvs/cgi-bin/cvsweb/triangle/?only_with_tag=TRIANGLE_STORY_5
http://cvs/cgi-bin/cvsweb/?only_with_tag=TRIANGLE_STORY_5
http://cvs/cgi-bin/?only_with_tag=TRIANGLE_STORY_5
http://cvs/?only_with_tag=TRIANGLE_STORY_5
Comment 4 lexual 2005-04-19 14:05:10 UTC
Apologies Leo, that was an honest mistake. sorry. must have pasted the wrong bit
Comment 5 Justin Zobel 2021-03-21 00:25:01 UTC
Thank you for the bug report.

As this report hasn't seen any changes in 10 years or more, we ask if you can please confirm that the issue still persists.

If this bug is no longer persisting or relevant please change the status to resolved.
Comment 6 Christoph Cullmann 2024-05-06 18:39:58 UTC
Dear user,

KHTML (and KJS) was a long time more or less unmaintained and got removed in KF6.

Please migrate to use a QWebEngine based HTML component.

We will do no further fixes or improvements to the KF5 branches of these components beside important security fixes.

For security issues, please see:

https://kde.org/info/security/

Sorry that we did not fix this issue during the life-time of KHTML.

Greetings
Christoph Cullmann