Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Multiline quote parsing of httpd conf files #3392

Merged
merged 1 commit into from
Apr 20, 2022
Merged

fix: Multiline quote parsing of httpd conf files #3392

merged 1 commit into from
Apr 20, 2022

Conversation

ryan-blakley
Copy link
Contributor

Check all that apply:

  • Have you followed the guidelines in our Contributing document, including the instructions about commit messages?
  • Is this PR to correct an issue?
  • Is this PR an enhancement?

Complete Description of Additions/Changes:

The parsr logic didn't handle line continuations properly, and didn't handle multi-line quoted directives either. I fixed the logic and added in tests.

* The parsr logic didn't handle line continuations properly, and didn't
  handle multiline quoted directives either. I fixed the logic and added
  in tests.

Signed-off-by: Ryan Blakley <[email protected]>
Copy link
Contributor

@bfahr bfahr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like this fixes the problem.

@lhuett
Copy link
Contributor

lhuett commented Apr 20, 2022

Looks good to me

@bfahr bfahr merged commit 2864da3 into RedHatInsights:master Apr 20, 2022
bfahr pushed a commit that referenced this pull request Apr 20, 2022
* The parsr logic didn't handle line continuations properly, and didn't
  handle multiline quoted directives either. I fixed the logic and added
  in tests.

Signed-off-by: Ryan Blakley <[email protected]>
(cherry picked from commit 2864da3)
@ryan-blakley ryan-blakley deleted the fix_multiline_quote_httpd_parser branch October 21, 2022 13:56
xiangce pushed a commit that referenced this pull request Sep 6, 2024
* The parsr logic didn't handle line continuations properly, and didn't
  handle multiline quoted directives either. I fixed the logic and added
  in tests.

Signed-off-by: Ryan Blakley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants