Bug 1444652

Summary: [Upstream issue] Continuation lines are broken during buffer resize
Product: Red Hat Enterprise Linux 7 Reporter: Othman Madjoudj <athmanem>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.3CC: jorton, luhliari
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-30 15:26:12 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Othman Madjoudj 2017-04-23 18:05:52 UTC
Description of problem:

httpd included with EL7 has some corner issues with line continuation character '\'
The config will be invalid and prevent httpd from starting.

Version-Release number of selected component (if applicable):
httpd-2.4.6

How reproducible:
Always

Steps to Reproduce:
1. Enable the athmane/mod_security COPR repo [*]
2. Run: yum install mod_security mod_security_crs
3. Check Httpd config: httpd -t

[*] https://copr.fedorainfracloud.org/coprs/athmane/mod_security/

Actual results:

[root@5bfad475846f log]# httpd -t
AH00526: Syntax error on line 36 of /etc/httpd/modsecurity.d/activated_rules/RESPONSE-950-DATA-LEAKAGES.conf:
Error parsing actions: Unknown action: \\



Expected results:

OK

Additional info:

Possible patch for backporting: r1651653

https://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/server/util.c?r1=1651653&r2=1651652&pathrev=1651653&view=patch

Comment 2 Joe Orton 2017-05-30 15:26:12 UTC

*** This bug has been marked as a duplicate of bug 1378946 ***