Skip to content

fix: lint errors in baseLayout.js and security Middleware - #82

Merged
abushayedgit merged 1 commit into
abushayedgit:mainfrom
heyAbdullahBruh:main
Sep 9, 2026
Merged

abushayedgit merged 1 commit into
abushayedgit:mainfrom
heyAbdullahBruh:main

Conversation

@heyAbdullahBruh

Copy link
Copy Markdown
Collaborator

This pr has been errors fix: lint errors in baseLayout.js and security Middleware

if (typeof obj[key] === 'string') {
// Remove null bytes and control characters
obj[key] = obj[key].replace(/[\u0000-\u001F\u007F]/g, '');
obj[key] = obj[key].replace(/[\p{Cc}]/gu, '');
@abushayedgit
abushayedgit merged commit 3198650 into abushayedgit:main Sep 9, 2026
4 of 6 checks passed
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 this pull request may close these issues.

3 participants