[icinga-checkins] icinga.org: icinga-web/master: Header validator for squishloader not required.

git at icinga.org git at icinga.org
Tue Aug 28 16:18:15 CEST 2012


Module: icinga-web
Branch: master
Commit: d18c14754c45cda5f6122fcb982580461d48be4c
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=d18c14754c45cda5f6122fcb982580461d48be4c

Author: Marius Hein <marius.hein at netways.de>
Date:   Tue Aug 28 16:17:11 2012 +0200

Header validator for squishloader not required.

Fixes #2881

---

 .../AppKit/validate/Widgets/SquishLoader.xml       |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/modules/AppKit/validate/Widgets/SquishLoader.xml b/app/modules/AppKit/validate/Widgets/SquishLoader.xml
index 4977ebc..81ebc67 100644
--- a/app/modules/AppKit/validate/Widgets/SquishLoader.xml
+++ b/app/modules/AppKit/validate/Widgets/SquishLoader.xml
@@ -10,11 +10,11 @@
                 <argument>IF_NONE_MATCH</argument>
             </validator> 
 
-            <validator class="string" name="accept_encoding" source="headers" required="true">
+            <validator class="string" name="accept_encoding" source="headers" required="false">
                 <argument>ACCEPT_ENCODING</argument>                                    
                                                                                 
                 <errors>                                                        
-                    <error>Could not validate HTTP_REFERER</error>              
+                    <error>Could not validate HTTP header ACCEPT_ENCODING</error>              
                 </errors>                                                       
             </validator> 
         </validators>





More information about the icinga-checkins mailing list