]> source.dussan.org Git - archiva.git/commitdiff
[MRM-1445] disable referrer check by default
authorBrett Porter <brett@apache.org>
Wed, 15 Dec 2010 04:04:59 +0000 (04:04 +0000)
committerBrett Porter <brett@apache.org>
Wed, 15 Dec 2010 04:04:59 +0000 (04:04 +0000)
Merged from: r1049409

git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1049410 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/archiva-web/archiva-webapp/src/main/resources/struts.xml

index a640fe6ff5600443229ef22644a77839cb2e2abd..78e83d85876b50f259f04d3ff758b187b73073d2 100644 (file)
@@ -41,7 +41,9 @@
         <interceptor-ref name="paramFilter">
           <param name="blocked">externalResult</param>
         </interceptor-ref>
-        <interceptor-ref name="redbackSecureActions"/>
+        <interceptor-ref name="redbackSecureActions">
+          <param name="enableReferrerCheck">false</param>
+        </interceptor-ref>
         <interceptor-ref name="redbackPolicyEnforcement"/>
         <interceptor-ref name="configuration"/>
         <interceptor-ref name="validation">
@@ -57,7 +59,9 @@
         <interceptor-ref name="redbackAutoLogin"/>
         <interceptor-ref name="defaultStack"/>
         <interceptor-ref name="redbackPolicyEnforcement"/>
-        <interceptor-ref name="redbackSecureActions"/>
+        <interceptor-ref name="redbackSecureActions">
+          <param name="enableReferrerCheck">false</param>
+        </interceptor-ref>
         <interceptor-ref name="validation">
           <param name="excludeMethods">input,back,cancel,browse</param>
         </interceptor-ref>