You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Justin Edelson (JIRA)" <ji...@apache.org> on 2011/06/11 04:11:58 UTC
[jira] [Created] (SLING-2101) add support for returning a 301
response code instead of a 302 when using sling:vanityPath & sling:redirect
add support for returning a 301 response code instead of a 302 when using sling:vanityPath & sling:redirect
-----------------------------------------------------------------------------------------------------------
Key: SLING-2101
URL: https://issues.apache.org/jira/browse/SLING-2101
Project: Sling
Issue Type: New Feature
Components: JCR
Reporter: Justin Edelson
Currently, if sling:redirect is set on a node with sling:vanityPath, the response code is always 302. We should add a way to specify the response code if someone wants to return a 301 (or something else) instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (SLING-2101) add support for
returning a 301 response code instead of a 302 when using sling:vanityPath
& sling:redirect
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047828#comment-13047828 ]
Justin Edelson edited comment on SLING-2101 at 6/11/11 3:04 AM:
----------------------------------------------------------------
implemented in r1134511 along with a general integration test for sling:vanityPath
property name is sling:redirectStatus
was (Author: justinedelson):
implemented in r1134511
> add support for returning a 301 response code instead of a 302 when using sling:vanityPath & sling:redirect
> -----------------------------------------------------------------------------------------------------------
>
> Key: SLING-2101
> URL: https://issues.apache.org/jira/browse/SLING-2101
> Project: Sling
> Issue Type: New Feature
> Components: JCR
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: JCR Resource 2.0.12
>
>
> Currently, if sling:redirect is set on a node with sling:vanityPath, the response code is always 302. We should add a way to specify the response code if someone wants to return a 301 (or something else) instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2101) add support for returning a 301
response code instead of a 302 when using sling:vanityPath & sling:redirect
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047828#comment-13047828 ]
Justin Edelson commented on SLING-2101:
---------------------------------------
implemented in r1134511
> add support for returning a 301 response code instead of a 302 when using sling:vanityPath & sling:redirect
> -----------------------------------------------------------------------------------------------------------
>
> Key: SLING-2101
> URL: https://issues.apache.org/jira/browse/SLING-2101
> Project: Sling
> Issue Type: New Feature
> Components: JCR
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: JCR Resource 2.0.12
>
>
> Currently, if sling:redirect is set on a node with sling:vanityPath, the response code is always 302. We should add a way to specify the response code if someone wants to return a 301 (or something else) instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Closed] (SLING-2101) add support for returning a 301
response code instead of a 302 when using sling:vanityPath & sling:redirect
Posted by "Carsten Ziegeler (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Carsten Ziegeler closed SLING-2101.
-----------------------------------
> add support for returning a 301 response code instead of a 302 when using sling:vanityPath & sling:redirect
> -----------------------------------------------------------------------------------------------------------
>
> Key: SLING-2101
> URL: https://issues.apache.org/jira/browse/SLING-2101
> Project: Sling
> Issue Type: New Feature
> Components: JCR
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: JCR Resource 2.1.0
>
>
> Currently, if sling:redirect is set on a node with sling:vanityPath, the response code is always 302. We should add a way to specify the response code if someone wants to return a 301 (or something else) instead.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (SLING-2101) add support for returning a 301
response code instead of a 302 when using sling:vanityPath & sling:redirect
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson updated SLING-2101:
----------------------------------
Assignee: Justin Edelson
> add support for returning a 301 response code instead of a 302 when using sling:vanityPath & sling:redirect
> -----------------------------------------------------------------------------------------------------------
>
> Key: SLING-2101
> URL: https://issues.apache.org/jira/browse/SLING-2101
> Project: Sling
> Issue Type: New Feature
> Components: JCR
> Reporter: Justin Edelson
> Assignee: Justin Edelson
>
> Currently, if sling:redirect is set on a node with sling:vanityPath, the response code is always 302. We should add a way to specify the response code if someone wants to return a 301 (or something else) instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (SLING-2101) add support for returning a 301
response code instead of a 302 when using sling:vanityPath & sling:redirect
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Edelson resolved SLING-2101.
-----------------------------------
Resolution: Fixed
Fix Version/s: JCR Resource 2.0.12
> add support for returning a 301 response code instead of a 302 when using sling:vanityPath & sling:redirect
> -----------------------------------------------------------------------------------------------------------
>
> Key: SLING-2101
> URL: https://issues.apache.org/jira/browse/SLING-2101
> Project: Sling
> Issue Type: New Feature
> Components: JCR
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: JCR Resource 2.0.12
>
>
> Currently, if sling:redirect is set on a node with sling:vanityPath, the response code is always 302. We should add a way to specify the response code if someone wants to return a 301 (or something else) instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (SLING-2101) add support for returning a 301
response code instead of a 302 when using sling:vanityPath & sling:redirect
Posted by "Justin Edelson (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SLING-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047824#comment-13047824 ]
Justin Edelson commented on SLING-2101:
---------------------------------------
have this implemented locally, but it looks like we don't have any integration tests for sling:vanityPath, so I'm going to add those before committing this.
> add support for returning a 301 response code instead of a 302 when using sling:vanityPath & sling:redirect
> -----------------------------------------------------------------------------------------------------------
>
> Key: SLING-2101
> URL: https://issues.apache.org/jira/browse/SLING-2101
> Project: Sling
> Issue Type: New Feature
> Components: JCR
> Reporter: Justin Edelson
> Assignee: Justin Edelson
>
> Currently, if sling:redirect is set on a node with sling:vanityPath, the response code is always 302. We should add a way to specify the response code if someone wants to return a 301 (or something else) instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira