[ 
https://issues.apache.org/jira/browse/VELTOOLS-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Michael Osipov updated VELTOOLS-138:
------------------------------------
    Fix Version/s:     (was: 3.0)

> StrutsLinkTool breaks paths containing a query string
> -----------------------------------------------------
>
>                 Key: VELTOOLS-138
>                 URL: https://issues.apache.org/jira/browse/VELTOOLS-138
>             Project: Velocity Tools
>          Issue Type: Bug
>          Components: GenericTools
>    Affects Versions: 2.0
>            Reporter: Gabriel Lavoie
>            Assignee: Claude Brisson
>            Priority: Major
>              Labels: patch
>         Attachments: velocity-tools-strutslinktool-query-string-bug.patch
>
>   Original Estimate: 0h
>  Remaining Estimate: 0h
>
> When using StrutsLinkTool with a Struts global-forward containing a query 
> string in its path, the question mark separating the path from the query 
> string gets encoded into %3F and the generated link is broken. I traced 
> problem down to the "public LinkTool absolute(Object obj)" method from the 
> "LinkTool" class that doesn't manage well "non-absolute" links (not starting 
> with the "http" prefix). Those links are managed as if they were only a path 
> and the query string isn't extracted. The Java URI class is able to manage 
> such link to extract correctly the information.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org
For additional commands, e-mail: dev-h...@velocity.apache.org

Reply via email to