Affects Version/s: bridge-impl-2.0.0, bridge-impl-2.1.0, bridge-impl-3.0.0, bridge-impl-3.1.0, bridge-impl-4.0.0, bridge-impl-4.1.0
Component/s: Liferay Faces Bridge Impl / Demos / Tests
Section 220.127.116.11 of the JSR 329/378 Spec states the following regarding the deviation requirements for `ExternalContext.getRequestHeaderMap()`:
Within a `HEADER_REQUEST` or `EVENT_REQUEST`, the map must exclude the `Content-Type` and `Content-Length` properties (if they are present in the underlying request).
Liferay Faces Bridge does not contain any logic for implementing this requirement.
Note: This issue was found when
LPS-74355 was introduced in Liferay Portal 7.1, which added the "Content-Length" header to `EventRequest.getPropertyNames()`.
- Deploy bridge-tck-main-portlet to Liferay Portal 7.1
- Visit the getRequestHeaderMapEventTest page and click the "Run Test" button: