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.
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
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/
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
Apologies Leo, that was an honest mistake. sorry. must have pasted the wrong bit
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.
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