[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    Bug#45213: kpf incorrectly displays link to Parent directory when URL ends in two slashes (//)
From:       jju () dif ! dk
Date:       2002-07-14 22:07:21
[Download RAW message or body]

Package: kpf
Version: KDE 3.0.6 CVS/CVSup/Snapshot
Severity: normal
Installed from:    Compiled sources
Compiler:          gcc 2.95.3
OS:                Linux
OS/Compiler notes: Not Specified

Try sharing a directory with kpf and then point your browser at it like this:

"http://localhost:8001//"

You'll see a link to "Parent Directory" that looks like this in the source 

<a href="//.." class="direntry">Parent Directory</a>

That's clearly wrong since we are already at the top level. 
Kpf should strip multiple trailing slashes from the URL before processing it.


Regards,
Jesper Juhl - jju@dif.dk


(Submitted via bugs.kde.org)


(Complete bug history is available at http://bugs.kde.org/db/45/45213.html)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic