You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@abdera.apache.org by "Jim Ancona (JIRA)" <ji...@apache.org> on 2008/02/07 23:25:14 UTC

[jira] Created: (ABDERA-108) DefaultWorkspaceManager matches paths it shouldn't

DefaultWorkspaceManager matches paths it shouldn't
--------------------------------------------------

                 Key: ABDERA-108
                 URL: https://issues.apache.org/jira/browse/ABDERA-108
             Project: Abdera
          Issue Type: Bug
            Reporter: Jim Ancona
             Fix For: 0.4.0


DefaultWorkspaceManager chooses the collection based on whether the target path starts with  the collection's href. That is if the target URI is /foo/123 and the collection URI is /foo, the collection is chosen. This is incorrect when the target URI is /foo1/123.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (ABDERA-108) DefaultWorkspaceManager matches paths it shouldn't

Posted by "Jim Ancona (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ABDERA-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jim Ancona updated ABDERA-108:
------------------------------

    Attachment: DefaultWorkspaceManager.patch

Unit test and a fix. This fix matches if the target URI starts with the collection URI and the next character in the target URI is a delimiter (class gen-delims in RFC 3986)

> DefaultWorkspaceManager matches paths it shouldn't
> --------------------------------------------------
>
>                 Key: ABDERA-108
>                 URL: https://issues.apache.org/jira/browse/ABDERA-108
>             Project: Abdera
>          Issue Type: Bug
>            Reporter: Jim Ancona
>             Fix For: 0.4.0
>
>         Attachments: DefaultWorkspaceManager.patch
>
>
> DefaultWorkspaceManager chooses the collection based on whether the target path starts with  the collection's href. That is if the target URI is /foo/123 and the collection URI is /foo, the collection is chosen. This is incorrect when the target URI is /foo1/123.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (ABDERA-108) DefaultWorkspaceManager matches paths it shouldn't

Posted by "James M Snell (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ABDERA-108?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James M Snell resolved ABDERA-108.
----------------------------------

    Resolution: Fixed

Checked in

> DefaultWorkspaceManager matches paths it shouldn't
> --------------------------------------------------
>
>                 Key: ABDERA-108
>                 URL: https://issues.apache.org/jira/browse/ABDERA-108
>             Project: Abdera
>          Issue Type: Bug
>            Reporter: Jim Ancona
>             Fix For: 0.4.0
>
>         Attachments: DefaultWorkspaceManager.patch
>
>
> DefaultWorkspaceManager chooses the collection based on whether the target path starts with  the collection's href. That is if the target URI is /foo/123 and the collection URI is /foo, the collection is chosen. This is incorrect when the target URI is /foo1/123.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.