Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Don't spray XML parser errors to stderr#2930

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
erkia wants to merge1 commit intoowasp-modsecurity:v2/master
base:v2/master
Choose a base branch
Loading
fromerkia:fix/xml-parser-errors

Conversation

@erkia
Copy link

Currently, all XML parser errors are written to stderr, which in case of Apache means that the messages end up randomly in error_log, unformatted.

This pull request adds custom XML error handling function, which just discards all the messages at the moment.

@martinhsv
Copy link
Contributor

Hello@erkia ,

Could you provide a couple of examples of such messages? Ideally include xml bodies to reproduce them and whether any special configuration is required to reproduce the issue (e.g. higher LogLevel in the apache config).

@martinhsvmartinhsv added the 2.xRelated to ModSecurity version 2.x labelOct 17, 2023
@marcstern
Copy link

Non-standard messages in error log are not clean, but no message at all isn't good either.
We should use msr_log(msr, ...), no?

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

2.xRelated to ModSecurity version 2.x

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@erkia@martinhsv@marcstern

[8]ページ先頭

©2009-2025 Movatter.jp