You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2010/05/05 17:45:02 UTC
[jira] Resolved: (WW-3426) ServletRedirectResult and
ServletActionRedirectResult should support #anchor URI syntax
[ https://issues.apache.org/jira/browse/WW-3426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart resolved WW-3426.
-------------------------------
Assignee: Lukasz Lenart
Fix Version/s: 2.2.0
Resolution: Fixed
Resolved, thanks for the patch!
> ServletRedirectResult and ServletActionRedirectResult should support #anchor URI syntax
> ---------------------------------------------------------------------------------------
>
> Key: WW-3426
> URL: https://issues.apache.org/jira/browse/WW-3426
> Project: Struts 2
> Issue Type: Improvement
> Components: Dispatch Filter
> Affects Versions: 2.1.8.1
> Reporter: Jason Thrasher
> Assignee: Lukasz Lenart
> Fix For: 2.2.0
>
> Attachments: WW-3426-core-RedirectResult.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> Expected URI syntax includes an "#anchor", as documented here:
> http://labs.apache.org/webarch/uri/rfc/rfc3986.html#fragment
> "A fragment identifier component is indicated by the presence of a number sign ("#") character and terminated by the end of the URI."
> ServletRedirectResult's current implementation allows anchor fragments to be used only if there are no query parameters present for the RedirectResult. In this case, the location param can be specified for a ServletRedirectResult with a #anchor suffix. However this does not work when using query parameters. ServletActionRedirectResult does not support #anchor due to runtime discovery of the target URI based on the actionName, namespace, and method.
> Anchor fragments should be generally supported in redirection.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.