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

Add config to exclude source file from output #26

Open
OmegaJak opened this issue May 16, 2023 · 0 comments · May be fixed by #27
Open

Add config to exclude source file from output #26

OmegaJak opened this issue May 16, 2023 · 0 comments · May be fixed by #27

Comments

@OmegaJak
Copy link

I would like a way to remove the source file from the output in the console. While helpful for debugging, showing the full path and source file in production potentially opens you up to Full Path Disclosure vulnerabilities.

One way to do this would be to allow broader control over formatting in general like suggested in #13. Another would be a simple bool toggle inside the WASMLayerConfig.

I'll be raising a PR shortly doing the second implementation, since it's a lot easier 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant