Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSP filter init logging and defer property retrieval #5167

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

labkey-adam
Copy link
Contributor

@labkey-adam labkey-adam commented Jan 29, 2024

Rationale

We can't guarantee that ModuleLoader is initialized before ContentSecurityPolicyFilter, because Filter initialization order is non-deterministic. For now, defer retrieval of LabKey version information until doFilter() to avoid NPE at initialization.

Related Pull Requests

@labkey-adam labkey-adam merged commit ccf540c into develop Jan 29, 2024
6 checks passed
@labkey-adam labkey-adam deleted the fb_csp_filter_init_fix branch January 29, 2024 21:16
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