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

finish xss for all routes #44

Merged
merged 2 commits into from
May 6, 2023
Merged

finish xss for all routes #44

merged 2 commits into from
May 6, 2023

Conversation

dbajollari1
Copy link
Collaborator

No description provided.

@dbajollari1 dbajollari1 requested a review from MAPReiff May 6, 2023 00:29
routes/users.js Outdated
@@ -30,6 +31,7 @@ router
.post(async (req, res) => {
let users;
const { searchUsers } = req.body;
searchUsers = xss(searchUsers);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error when searching either with text or without text
image

@MAPReiff MAPReiff self-requested a review May 6, 2023 00:58
Copy link
Owner

@MAPReiff MAPReiff left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@MAPReiff MAPReiff added enhancement New feature or request routes Changes to the routes directory files tickets Changes to tickets users Changes to users labels May 6, 2023
@MAPReiff MAPReiff merged commit 7a00a9e into main May 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request routes Changes to the routes directory files tickets Changes to tickets users Changes to users
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants