commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bernd Eckenfels (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VFS-250) URLFileName should always honor trailing slash for collections
Date Tue, 14 Apr 2015 13:09:13 GMT

    [ https://issues.apache.org/jira/browse/VFS-250?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494080#comment-14494080
] 

Bernd Eckenfels commented on VFS-250:
-------------------------------------

I don't think it is a good idea to set a global option which affects multiple managers (unfortunatelly)
automatically. But the patch which is fixing the url looks like a good idea. Is it guranteed
that it does not double concatenate it?

> URLFileName should always honor trailing slash for collections
> --------------------------------------------------------------
>
>                 Key: VFS-250
>                 URL: https://issues.apache.org/jira/browse/VFS-250
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: James William Dumay
>         Attachments: VFS-urlfilename-should-be-always-uri-style.patch
>
>
> URLFileName should always honor trailing slash for collections.
> When using webdav VFS.getUriStyle() should always equal to true as operations on a collection
resource without a trailing slash will result in a 301. This should be default for the URLFileName.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message