Skip to content

Commit

Permalink
minor cleanup after dependabot updates
Browse files Browse the repository at this point in the history
  • Loading branch information
aferditamuriqi committed Jan 31, 2024
1 parent c04be0d commit b080098
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
19 changes: 0 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/modules/sampleread/SampleReadEventHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default class SampleReadEventHandler {
this.navigator.errorMessage.style.backgroundColor =
"rgb(255, 255, 255)";
this.navigator.errorMessage.innerHTML =
"<span>" + this.navigator.sample?.popup + "</span>" ?? "";
`<span>${this.navigator.sample?.popup}</span>` ?? "";

Check warning

Code scanning / CodeQL

Unsafe HTML constructed from library input Medium

This HTML construction which depends on
library input
might later allow
cross-site scripting
.
}
} else {
this.navigator.iframes[0].focus();
Expand Down

0 comments on commit b080098

Please sign in to comment.