Skip to content

[stable34] fix: apply headers_to_exclude given in info.xml - #1190

Merged
oleksandr-nc merged 1 commit into
stable34from
fix/headers-to-exclude-xml-stable34
Nov 13, 2026
Merged

oleksandr-nc merged 1 commit into
stable34from
fix/headers-to-exclude-xml-stable34

Conversation

@oleksandr-nc

Copy link
Copy Markdown
Contributor

A route's headers_to_exclude comes from info.xml as a JSON string, such as ["X-Foo"], but registerExAppRoutes only kept arrays, so it was stored as [] and the ExApp proxy did not remove those headers. It is now decoded like bruteforce_protection, as on main since #885. Existing routes get the list when the ExApp is updated to a new version or registered again.

The test checks the stored value for an info.xml string and a --json-info array.

Signed-off-by: Oleksandr Piskun <oleksandr2088@icloud.com>
@oleksandr-nc
oleksandr-nc merged commit f8b9ed2 into stable34 Nov 13, 2026
53 of 60 checks passed
@oleksandr-nc
oleksandr-nc deleted the fix/headers-to-exclude-xml-stable34 branch November 13, 2026 07:26
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.

1 participant