owasp-modsecurity / owasp-modsecurity/ModSecurity-nginx

two server fields in json

Open
#230 12 comments 2 reactions 1 assignee View on GitHub

@zimmerle is already working on this.

Since Dec 2, 2020.

Dominant language
Perl
Stars
1.9k
Forks
312
PR merge metrics
No merged PRs in 30d

Description

When server-tokens off and more_clear_headers server are configured we get two server fields in json.
Elasticsearch will not parse this, because field need te be unique.

Please fix this, so we get 1 server field

example

"http_code":403,"headers":{"Server":"","Server":"","Date":"Wed, 02 Dec 2020 20:57:05 GMT","Content-Length"

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.