[
http://www.stripesframework.org/jira/browse/STS-115?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ben Gunter closed STS-115.
--------------------------
> Incorrect creation of client browser URL while using RedirectResolution
> within ActionBean Handler method.
> ---------------------------------------------------------------------------------------------------------
>
> Key: STS-115
> URL: http://www.stripesframework.org/jira/browse/STS-115
> Project: Stripes
> Issue Type: Bug
> Components: ActionBean Dispatching
> Affects Versions: Release 1.2.1
> Environment: Java SE version 1.5.0_04-b05
> Windows XP Prof
> Apache Tomcat/5.5.12
> Firefox version 1.5.0.1
> Reporter: Trent Rosenbaum
> Assignee: Tim Fennell
> Fix For: Release 1.2.2
>
>
> The following object is not providing the client browser with the correct URL
> when being instructed to perform a redirect.
> net.sourceforge.stripes.action.RedirectResolution
> The object uses the same URLBuilder as the <stripes:link> tag and so replaces
> the & for an & This is correct behaviour for the tag when it is writing
> out a url with parameters to the content of the webpage. When the same &
> html entity is a part of a URL in the client browser address bar then the
> appropriate parameters are ignored.
> Used the following code:
> RedirectResolution resolution = new
> RedirectResolution("/ViewTopicResponses.action");
> resolution.addParameter("id", topicId);
> resolution.addParameter("viewTopic", "");
> This created the redirect URL of:
> http://localhost:8080/discussion-forum-webapp/ViewTopicResponse.action?viewTopic=&id=2
> This caused the ActionBean linked to the URLBinding to ignore the id
> parameter and use defaults for the id property. This caused the incorrect
> content to be displayed. The following url should have been returned:
> http://localhost:8080/discussion-forum-webapp/ViewTopicResponse.action?viewTopic=&id=2
> This has been caused by the STS-114 that corrected the html validation errors
> created through the <stripes:link> tag.
> Should the URLBuilder have the ability to be set to use & in certain cases
> and & in others?
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development