You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2024/09/10 07:26:46 UTC

(activemq) branch activemq-6.1.x updated: Set cache-control to no-store by default for stronger security

This is an automated email from the ASF dual-hosted git repository.

jbonofre pushed a commit to branch activemq-6.1.x
in repository https://gitbox.apache.org/repos/asf/activemq.git


The following commit(s) were added to refs/heads/activemq-6.1.x by this push:
     new 672e9c1936 Set cache-control to no-store by default for stronger security
672e9c1936 is described below

commit 672e9c193660e9fc0f2135f46a0385c14c36a1fe
Author: Ken Liao <ke...@gmail.com>
AuthorDate: Thu Aug 22 22:11:29 2024 -0700

    Set cache-control to no-store by default for stronger security
    
    (cherry picked from commit 2dab16172e45d90065fe3aa2be53b59c286908cd)
---
 assembly/src/release/conf/jetty.xml | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/assembly/src/release/conf/jetty.xml b/assembly/src/release/conf/jetty.xml
index 874afeeaef..e475e80810 100644
--- a/assembly/src/release/conf/jetty.xml
+++ b/assembly/src/release/conf/jetty.xml
@@ -74,6 +74,11 @@
                   <property name="name" value="X-Content-Type-Options"/>
                   <property name="value" value="nosniff"/>
                 </bean>
+                <bean id="header" class="org.eclipse.jetty.rewrite.handler.HeaderPatternRule">
+                    <property name="pattern" value="*"/>
+                    <property name="name" value="Cache-Control"/>
+                    <property name="value" value="no-store"/>
+                </bean>
             </list>
         </property>
     </bean>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact