Skip to content

Commit

Permalink
Merge 24.2 to 24.3
Browse files Browse the repository at this point in the history
  • Loading branch information
labkey-tchad committed Mar 14, 2024
2 parents 816f4db + 5686c7d commit 82d3ae0
Showing 1 changed file with 26 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package org.labkey.filters;

import jakarta.servlet.Filter;
import jakarta.servlet.FilterChain;
import jakarta.servlet.FilterConfig;
import jakarta.servlet.ServletException;
import jakarta.servlet.ServletRequest;
import jakarta.servlet.ServletResponse;
import java.io.IOException;

/**
* A no-op CSP filter that gets applied (for now) to extra webapps
*/
public class ContentSecurityPolicyFilter implements Filter
{
@Override
public void init(FilterConfig filterConfig) throws ServletException
{
}

@Override
public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException, IOException
{
chain.doFilter(request, response);
}
}

0 comments on commit 82d3ae0

Please sign in to comment.