You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Antonio Sanso (Updated) (JIRA)" <ji...@apache.org> on 2011/11/10 15:25:51 UTC
[jira] [Updated] (SLING-2268) Request to resource xyz/.html
resolves to xyz
[ https://issues.apache.org/jira/browse/SLING-2268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Antonio Sanso updated SLING-2268:
---------------------------------
Attachment: SLING-2268-asanso-patch.txt
should you agree with the bug report I have attached a proposed patch + additional unit test
> Request to resource xyz/.html resolves to xyz
> ---------------------------------------------
>
> Key: SLING-2268
> URL: https://issues.apache.org/jira/browse/SLING-2268
> Project: Sling
> Issue Type: Bug
> Components: Servlets
> Affects Versions: Servlets Get 2.1.2
> Reporter: Honwai Wong
> Priority: Minor
> Attachments: SLING-2268-asanso-patch.txt
>
>
> A request to a resource with a trailing slash and an extension properly resolves to the correct resource and resource-type. From my point of view, such a request looks rather incorrect and shouldn't get served in the first place, e.g. returning a 404 response:
> http://<host>:<port>/resourcexyz/.html
--
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