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

Lukas Theussl commented on MSITE-244:
-------------------------------------

The description of this issue is not quite correct. The query part is is 
preserved if you really use a relative link like

{code:xml}
<item name="Relative link with Query Part" 
href="index.html?var=foo&amp;var2=bar" />
{code}

whereas is gets lost if you use

{code:xml}
<item name="Absolute link with Query Part" 
href="http://maven.apache.org/index.html?var=foo&amp;var2=bar"; />
{code}

(and have <url>http://maven.apache.org/</url> in your pom). So the question is 
why you would want to link to a page within your site using an absolute link?

> Relative paths are loosing their query parts
> --------------------------------------------
>
>                 Key: MSITE-244
>                 URL: http://jira.codehaus.org/browse/MSITE-244
>             Project: Maven 2.x Site Plugin
>          Issue Type: Bug
>          Components: relative links
>    Affects Versions: 2.0-beta-6
>         Environment: Windows, French Locale, Maven 2.0.6, Site plugin 
> maven-site-plugin-2.0-beta-6-20070716.231146-1
>            Reporter: Denis Cabasson
>             Fix For: 2.1
>
>         Attachments: MSITE-test-case.zip
>
>
> Urls are compared to project url and when necessary are transformed to 
> relative URLs.
> In the process those trimmed url loose their query part.

-- 
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

        

Reply via email to