Skip to content

fix: Clean Input Stream When using getRequestDispatcher - EXO-87249#77

Merged
boubaker merged 1 commit into
developfrom
merge-pwa-enhancements
Jun 8, 2026
Merged

fix: Clean Input Stream When using getRequestDispatcher - EXO-87249#77
boubaker merged 1 commit into
developfrom
merge-pwa-enhancements

Conversation

@boubaker

@boubaker boubaker commented Jun 8, 2026

Copy link
Copy Markdown
Member

Prior to this change, when using the 'getRequestDispatcher' in Wrapped ServletContext, the used InputStream isn't closed. This change ensure to close the InputStream once the check is made.
At the same time, this gives Access to PortalContainer WebApp Servlet Contexts in order to allow using Request Dispatching directly on Servlet Context.

Prior to this change, when using the 'getRequestDispatcher' in Wrapped ServletContext, the used InputStream isn't closed. This change ensure to close the InputStream once the check is made.
@sonarqubecloud

sonarqubecloud Bot commented Jun 8, 2026

Copy link
Copy Markdown

@boubaker
boubaker requested review from AzmiTouil and sofyenne June 8, 2026 16:04
@boubaker
boubaker enabled auto-merge (squash) June 8, 2026 16:05
@boubaker
boubaker merged commit 04992ab into develop Jun 8, 2026
11 checks passed
@boubaker
boubaker deleted the merge-pwa-enhancements branch June 8, 2026 16:05
exo-swf pushed a commit that referenced this pull request Jun 8, 2026
Prior to this change, when using the 'getRequestDispatcher' in Wrapped ServletContext, the used InputStream isn't closed. This change ensure to close the InputStream once the check is made.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants