You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2023/09/27 07:46:00 UTC

[jira] [Created] (FELIX-6656) javax.servlet / jakarta.servlet request attributes are not correctly translated

Carsten Ziegeler created FELIX-6656:
---------------------------------------

             Summary: javax.servlet / jakarta.servlet request attributes are not correctly translated
                 Key: FELIX-6656
                 URL: https://issues.apache.org/jira/browse/FELIX-6656
             Project: Felix
          Issue Type: Improvement
          Components: HTTP Service
    Affects Versions: http.wrappers-1.1.0, http.wrappers-1.0.0, http.jetty-5.1.0
            Reporter: Carsten Ziegeler
            Assignee: Carsten Ziegeler
             Fix For: http.wrappers-1.1.2, http.wrappers-1.0.2, http.jetty-5.1.2


When setting a javax.servlet request attribute, for example the error code, getAttribute will return null. getAttribute is only looking up the jakarta.servlet variant of that property not seeing the initially set one.
We need to do the translation on all three methods, getAttribute, setAttribute, removeAttribute



--
This message was sent by Atlassian Jira
(v8.20.10#820010)