trailing slash and webdav again

Thiago Macieira thiago at kde.org
Wed Jan 25 10:06:18 GMT 2006


Reto Bachmann-Gmür wrote:
>Situation 1:
>1. webdav://localhost:8585/bla/ is open
>2. the user clicks on the folder "folder1"
>3. webdav://localhost:8585/bla/folder1/ is opened, but
>webdav://localhost:8585/bla/folder1 is shown as address

This is wrong. The Location bar is displaying the wrong URL.

In fact, this bug is shared by other filesystem-like protocols (I tested 
with webdav, fish, ftp and file). When you click on a directory to have 
it opened, it does not add the trailing slash. If you go Up from a 
directory, the slash is not stripped.

I don't know about the WebDAV protocol, but with HTTP, this causes a 301 
Redirection to the URL *with* the slash.

>4. the user presses the reload button: 
>webdav://localhost:8585/bla/folder1 is opened

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

5. Swa he géanhwearf tó timbran, and hwonne he cóm, lá! Unix cwæð "Hello, 
World". Ǽfre ǽghwilc wæs glæd and seo woruld wæs fréo.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20060125/c93b8417/attachment.sig>


More information about the kfm-devel mailing list