[ 
https://jira.codehaus.org/browse/CONTINUUM-2585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=362154#comment-362154
 ] 

Brent N Atkinson commented on CONTINUUM-2585:
---------------------------------------------

I can reproduce the issue locally using 1.4.2 and have confirmed that the patch 
addresses it. It is worth noting that this issue is only present when 
specifying a username during a maven project add. The URL is reconstructed to 
safely encode the username and password and the code did not include the query 
parameters. When a username is not specified, the URL is used exactly as 
entered and will not exhibit this behavior.

> Adding a maven pom via url with username drops query parameters
> ---------------------------------------------------------------
>
>                 Key: CONTINUUM-2585
>                 URL: https://jira.codehaus.org/browse/CONTINUUM-2585
>             Project: Continuum
>          Issue Type: Bug
>          Components: Web - UI
>    Affects Versions: 1.3.6
>         Environment: Red Hat Enterprise Linux Server release 5.5 (Tikanga); 
> cvs for software revision control
>            Reporter: M
>            Assignee: Brent N Atkinson
>             Fix For: 1.5.0
>
>         Attachments: continuum_import_project_patch.txt, patch.txt
>
>
> This issue occurs when cvsweb(http/https) is the preferred method for 
> retrieving remote pom.xml.
> In web interface, the import of a maven project via pom url fails, because 
> the pom.xml url is in the form:
> https://HOST/viewvc/PROJECT/pom.xml?view=co&pathrev=REVISION (real pom.xml)
> but the backend is retrieving the wrong pom url 
> https://HOST/viewvc/PROJECT/pom.xml (webpage of  pom.xml's revision history)
> The part after the ? character is truncated.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Reply via email to