-
Notifications
You must be signed in to change notification settings - Fork 5
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
Fix: Correct DOM Text Handling, Pin Tags in Workflow, and Add Permissions #93
base: main
Are you sure you want to change the base?
Conversation
@@ -1,4 +1,13 @@ | |||
// uuidv4: from https://github.com/kelektiv/node-uuid | |||
function escapeHtml(unsafe) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this actually used anywhere? How come this has been added?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops forgot to apply the escapeHTML function. Added now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was a suggested change so "any text taken from the DOM and used to set innerHTML is properly escaped to prevent XSS attacks".
What is the context of this PR?
Code Scanning has been enabled in some of our Github Repositories is highlighting issues.
This PR is to fix these issues:
How to review
Check if the changes make sense
Test Launcher locally to see if the HTML changes do not affect Launcher Visually