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

ui/nvui cleanup #16560

Draft
wants to merge 26 commits into
base: master
Choose a base branch
from
Draft

Conversation

allanjoseph98
Copy link
Member

(also extends a little bit to ui/chess)

const $firstPiece = $('.board-wrapper [file="' + $first[0] + '"][rank="' + $first[1] + '"]');
$moveBox.val($moveBox.val() + $pos);
const first = $moveBox.val();
const $firstPiece = $(squareSelector(first[1], first[0]));

Check warning

Code scanning / CodeQL

DOM text reinterpreted as HTML Medium

DOM text
is reinterpreted as HTML without escaping meta-characters.
Copy link
Member Author

Choose a reason for hiding this comment

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

why does it care now after a refactor but not in prod? 🙃

Copy link
Collaborator

Choose a reason for hiding this comment

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

maybe the alert was previously dismissed, but your change triggered a rescan would be my guess.

@schlawg
Copy link
Collaborator

schlawg commented Dec 17, 2024

great stuff

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.

2 participants