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

too long parameter in xss.conf:81 #7

Closed
Hannsre opened this issue Jan 16, 2025 · 2 comments
Closed

too long parameter in xss.conf:81 #7

Hannsre opened this issue Jan 16, 2025 · 2 comments
Assignees

Comments

@Hannsre
Copy link

Hannsre commented Jan 16, 2025

Hi,

I'm currently testing the nginx rules and came upon what looks like a syntax error in one of the rulesets.

Describe the bug
in xss.conf nginx complains about the lenght of the parameter.

[emerg] 894506#894506: too long parameter, probably missing terminating """ character in /etc/nginx/patterns/rules/xss.conf:81

The parameter in question is indeed extremely long. My RegEx knowledge isn't the greatest, but it looks like a lot of repetition in said parameter.

To Reproduce
Steps to reproduce the behavior:

  1. wget the current release
  2. unpack it
  3. point nginx to include the rulesets
  4. Get above mentioned error when running nginx -t to verify the config

Expected behavior
The rules to be applied without error.

Desktop (please complete the following information):

  • Ubuntu 22.04 LTS Virtual Machine running nginx
@fabriziosalmi
Copy link
Owner

should be fixed, let me know if u have time :)

@fabriziosalmi fabriziosalmi self-assigned this Jan 16, 2025
@fabriziosalmi
Copy link
Owner

Tested and... is fixed to me :)

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

No branches or pull requests

2 participants