Expected Behavior
**spring-security-main\web\src\main\java\org\springframework\security\web\util\OnCommittedResponseWrapper.java,public PrintWriter append(CharSequence csq),if csq is null。then throw nullpointerException。Can you add null protection here **
Context
Comment From: sjohnr
Hi @li-yongji, thanks for reaching out.
Can you add null protection here
Can you add more details about the issue you're having?
Comment From: spring-projects-issues
If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.
Comment From: li-yongji
The business configures the security response header for the interface. If the interface returns null, the security response header filter will throw an exception。
Comment From: sjohnr
Hi @li-yongji.
The business configures the security response header for the interface.
Apologies, but I'm not able to determine your use case from the information provided. Please provide a minimal sample that demonstrates the issue. I'm going to close this request, but feel free to provide a sample and we can re-open to investigate further.