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

Fix timeline XSS #2230

Merged
merged 2 commits into from
Nov 9, 2022
Merged

Fix timeline XSS #2230

merged 2 commits into from
Nov 9, 2022

Conversation

jas14
Copy link
Collaborator

@jas14 jas14 commented Oct 31, 2022

Closes #2212 . Tested by mocking out the xhr.ts timeline function to return one of each type of timeline entry with HTML in the data.

Also fixes 63 lint warnings in 9c6a40f. If this is too large of a change, I'm happy to revert that commit.

Before

Screen Shot 2022-10-30 at 5 27 01 PM

npm run lint results:

✖ 2019 problems (0 errors, 2019 warnings)

After

Screen Shot 2022-10-30 at 10 19 42 PM

npm run lint results:

✖ 1956 problems (0 errors, 1956 warnings)

@veloce veloce merged commit f36616f into lichess-org:master Nov 9, 2022
@veloce
Copy link
Collaborator

veloce commented Nov 9, 2022

Thank you!

@jas14 jas14 deleted the trans-vdom branch November 10, 2022 02:29
niklasf added a commit to lichess-org/lila that referenced this pull request Nov 10, 2022
ornicar added a commit to lichess-org/lila that referenced this pull request Nov 23, 2022
RoepStoep pushed a commit to RoepStoep/lidraughts that referenced this pull request Sep 7, 2023
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.

<iframe> text renders in activity layout
2 participants