You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dirk Rudolph (JIRA)" <ji...@apache.org> on 2016/02/12 17:43:18 UTC
[jira] [Updated] (SLING-5516)
ParameterSupportHttpServletRequestWrapper is not conform to Servlet API 3.0
[ https://issues.apache.org/jira/browse/SLING-5516?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dirk Rudolph updated SLING-5516:
--------------------------------
Description:
According to \[1\] HttpServletRequest#getParts() and HttpServletRequest#getPart(String) throw ServletExceptions in case the request ist not a {{multpart/}} request.
In the Sling Engine implementation this seems not to be the case [2]. Not completely sure if this applies to the other exception types as well but i think so.
\[1\] http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpServletRequest.html#getParts--
\[2\] http://svn.apache.org/viewvc/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/parameters/ParameterMap.java?view=markup#l127
was:
According to \[1\] HttpServletRequest#getParts() and HttpServletRequest#getPart(String) throw ServletExceptions in case the request ist not a {{multpart/}} request.
In the Sling Engine implementation this seems not to be the case [2].
\[1\] http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpServletRequest.html#getParts--
\[2\] http://svn.apache.org/viewvc/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/parameters/ParameterMap.java?view=markup#l127
> ParameterSupportHttpServletRequestWrapper is not conform to Servlet API 3.0
> ---------------------------------------------------------------------------
>
> Key: SLING-5516
> URL: https://issues.apache.org/jira/browse/SLING-5516
> Project: Sling
> Issue Type: Bug
> Components: Engine
> Affects Versions: Engine 2.4.6
> Reporter: Dirk Rudolph
> Priority: Minor
>
> According to \[1\] HttpServletRequest#getParts() and HttpServletRequest#getPart(String) throw ServletExceptions in case the request ist not a {{multpart/}} request.
> In the Sling Engine implementation this seems not to be the case [2]. Not completely sure if this applies to the other exception types as well but i think so.
> \[1\] http://docs.oracle.com/javaee/7/api/javax/servlet/http/HttpServletRequest.html#getParts--
> \[2\] http://svn.apache.org/viewvc/sling/trunk/bundles/engine/src/main/java/org/apache/sling/engine/impl/parameters/ParameterMap.java?view=markup#l127
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)