trailing slash and webdav again
Reto Bachmann-Gmür
reto at gmuer.ch
Wed Jan 25 10:50:08 GMT 2006
Thiago Macieira schrieb:
> 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
>
Many servers do so, but they are not required to. I tried to explain in
[1], why I don't follow this convention, for the user it is unintuitive
why the URL http://www.w3.org/Amaya/Overview remains as it is, while
http://www.w3.org/Amaya/User is changed to one with a trailing slash.
reto
1. http://wymiwyg.org/2006/01/25/uri-conventions
>> 4. the user presses the reload button:
>> webdav://localhost:8585/bla/folder1 is opened
>>
>
>
More information about the kfm-devel
mailing list