Created: (MSITE-433) Site plugin deploys files with dots '.' in the URL

View: New views
4 Messages — Rating Filter:   Alert me  

Created: (MSITE-433) Site plugin deploys files with dots '.' in the URL

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Site plugin deploys files with dots '.' in the URL
--------------------------------------------------

                 Key: MSITE-433
                 URL: http://jira.codehaus.org/browse/MSITE-433
             Project: Maven 2.x Site Plugin
          Issue Type: Bug
    Affects Versions: 2.0.1
            Reporter: Toby


Files are deployed as:
http://server/site/test/foo/child-one/./team-list.html

The URL's should be normalized http://server/site/test/foo/child-one/team-list.html

Could be a problem a /../ too.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Commented: (MSITE-433) Site plugin deploys files with dots '.' in the URL

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MSITE-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197255#action_197255 ]

Dennis Lundberg commented on MSITE-433:
---------------------------------------

Can you please attach a sample project that shows this issue?

> Site plugin deploys files with dots '.' in the URL
> --------------------------------------------------
>
>                 Key: MSITE-433
>                 URL: http://jira.codehaus.org/browse/MSITE-433
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Toby
>
> Files are deployed as:
> http://server/site/test/foo/child-one/./team-list.html
> The URL's should be normalized http://server/site/test/foo/child-one/team-list.html
> Could be a problem a /../ too.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Commented: (MSITE-433) Site plugin deploys files with dots '.' in the URL

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MSITE-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197508#action_197508 ]

Scott Clasen commented on MSITE-433:
------------------------------------

I am seeing this too, and it causes a site-deploy failure on multi-module sites, when the child project directory is attempted to be created. In this case the server will try to create "/path/to/sites/toplevel/common/." instead of "/path/to/sites/toplevel", which fails (at least on Solaris)

Embedded error: Failed to transfer file: http://ike:18081/nexus/content/sites/toplevel/common/./team-list.html. Return code is: 500
 
[INFO] ------------------------------------------------------------------------
 
[INFO] Trace
 
org.apache.maven.lifecycle.LifecycleExecutionException: Error uploading site
 
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:703)
 
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
 


> Site plugin deploys files with dots '.' in the URL
> --------------------------------------------------
>
>                 Key: MSITE-433
>                 URL: http://jira.codehaus.org/browse/MSITE-433
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Toby
>
> Files are deployed as:
> http://server/site/test/foo/child-one/./team-list.html
> The URL's should be normalized http://server/site/test/foo/child-one/team-list.html
> Could be a problem a /../ too.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Commented: (MSITE-433) Site plugin deploys files with dots '.' in the URL

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/MSITE-433?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=197580#action_197580 ]

Dennis Lundberg commented on MSITE-433:
---------------------------------------

If you would like us to try and fix this issue, you will have to provide us with a test project that we can use to try to reproduce the issue.

> Site plugin deploys files with dots '.' in the URL
> --------------------------------------------------
>
>                 Key: MSITE-433
>                 URL: http://jira.codehaus.org/browse/MSITE-433
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>    Affects Versions: 2.0.1
>            Reporter: Toby
>
> Files are deployed as:
> http://server/site/test/foo/child-one/./team-list.html
> The URL's should be normalized http://server/site/test/foo/child-one/team-list.html
> Could be a problem a /../ too.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira