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

[owasp-modsecurity compatibility] base64Encode method #1252

Open
tty2 opened this issue Dec 18, 2024 · 2 comments
Open

[owasp-modsecurity compatibility] base64Encode method #1252

tty2 opened this issue Dec 18, 2024 · 2 comments

Comments

@tty2
Copy link

tty2 commented Dec 18, 2024

Summary

coraza doesn't implement method base64Encode
owasp-modsecurity has this method

Basic example

https://github.com/owasp-modsecurity/ModSecurity/wiki/Reference-Manual-(v3.x)#user-content-base64Encode

Motivation

OWASP modsecurity compatibility

@fzipi
Copy link
Member

fzipi commented Dec 18, 2024

Thanks for reporting! Are you up for a PR?

@tty2
Copy link
Author

tty2 commented Dec 18, 2024

Hi @fzipi
I'm gonna take it to implement soon
Just need to spend time to make sure if we should use std lib or make something else like in decode implementation?
If you already have knowledge that std encoding doesn't work here, please share it.

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