git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug 62567] New: httpd-policy.conf.in contains HTML garbage and perhaps missing quotes for SetOutputFilter


https://bz.apache.org/bugzilla/show_bug.cgi?id=62567

            Bug ID: 62567
           Summary: httpd-policy.conf.in contains HTML garbage and perhaps
                    missing quotes for SetOutputFilter
           Product: Apache httpd-2
           Version: 2.5-HEAD
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
          Assignee: bugs@xxxxxxxxxxxxxxxx
          Reporter: michal.babacek@xxxxxxxxx
  Target Milestone: ---

Hello,

After the resolution of [1] and [2] enabled the CMake Windows build of trunk
[3] for me, the smoke test that starts httpd and accesses HTTP on 80 and HTTPS
on 443 *and* checks for errors in the log kept failing on syntax errors in
httpd-policy.conf and:

> [Tue Jul 24 08:39:47.440977 2018] [core:error] [pid 1468:tid 3676] [client ::1:56088] 
> AH00082: an unknown filter was not added: 
> POLICY_TYPEPOLICY_LENGTHPOLICY_KEEPALIVEPOLICY_VARYPOLICY_VALIDATIONPOLICY_CONDITIONALPOLICY_NOCACHEPOLICY_MAXAGE

I tried with this patch [4], but as you can see, the CI keeps failing [5]:

>[Tue Jul 24 09:04:53.657743 2018] [core:error] [pid 1684:tid 3672] [client ::1:56123] 
> AH00082: an unknown filter was not added: 
> POLICY_TYPEPOLICY_LENGTHPOLICY_KEEPALIVEPOLICY_VARYPOLICY_VALIDATIONPOLICY_CONDITIONALPOLICY_NOCACHEPOLICY_MAXAGE
>[Tue Jul 24 09:04:53.660706 2018] [core:error] [pid 1684:tid 3672] [client ::1:56123] 
> AH00082: an unknown filter was not added: 
> POLICY_TYPEPOLICY_LENGTHPOLICY_KEEPALIVEPOLICY_VARYPOLICY_VALIDATIONPOLICY_CONDITIONALPOLICY_NOCACHEPOLICY_MAXAGE

What is the intended syntax for SetOutputFilter? Should the file or the parser
be fixed?

Cheers
K.

--

Accessing https://ci.modcluster.io requires an *arbitrary* GitHub account, it
keeps the silliest bots away, but I can attach anything to this BZ if anybody
would like me to.

[1] https://bz.apache.org/bugzilla/show_bug.cgi?id=62557#c11
[2] https://bz.apache.org/bugzilla/show_bug.cgi?id=62563#c3
[3] https://ci.modcluster.io/job/httpd-trunk-windows/
[4]
https://raw.githubusercontent.com/modcluster/ci.modcluster.io/master/windows/httpd/httpd-policy.conf.in.patch
[5]
https://ci.modcluster.io/job/httpd-trunk-windows/20/label=w2k12r2/consoleText

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: bugs-help@xxxxxxxxxxxxxxxx




( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache2-bugs/msg03048.html on line 133
Call Stack
#TimeMemoryFunctionLocation
10.0006368632{main}( ).../msg03048.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache2-bugs/msg03048.html on line 133
Call Stack
#TimeMemoryFunctionLocation
10.0006368632{main}( ).../msg03048.html:0