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

Broken CSS decode test case? #8

Open
zehric opened this issue Sep 4, 2020 · 0 comments
Open

Broken CSS decode test case? #8

zehric opened this issue Sep 4, 2020 · 0 comments

Comments

@zehric
Copy link

zehric commented Sep 4, 2020

https://github.com/SpiderLabs/secrules-language-tests/blob/c8cf2c588a93dce20781e597643e1b9d11aa4bba/transformations/cssDecode.json#L24-L28

The linked test case appears to be broken to me. After checking this and the actual code I'm fairly certain that the two spaces after the last null byte should be preserved sice the null byte is not a hexadecimal escape.

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

1 participant