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

Express 5.0.1: TypeError: Cannot set property query of #<IncomingMessage> which has only a getter #20

Closed
otto-kirchheim opened this issue Dec 26, 2024 · 0 comments · Fixed by #21

Comments

@otto-kirchheim
Copy link

I'm trying to implement express-xss-sanitize with Express 5.0.1.
I get the error:

TypeError: Cannot set property query of #<IncomingMessage> which has only a getter
      at C:\***\node_modules\express-xss-sanitizer\index.js:9:16 
      at Array.forEach (<anonymous>) 
      at C:\***\node_modules\express-xss-sanitizer\index.js:7:44

Same Probleme like express-mongo-sanitize

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

Successfully merging a pull request may close this issue.

1 participant