Skip to content

Commit

Permalink
fix(url handler): escape html
Browse files Browse the repository at this point in the history
  • Loading branch information
Miodec committed May 4, 2024
1 parent 876f6c0 commit 856beb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/ts/utils/url-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ export function loadTestSettingsFromUrl(getOverride?: string): void {
Object.keys(applied).forEach((setKey) => {
const set = applied[setKey];
if (set !== undefined) {
appliedString += `${setKey}${set ? ": " + set : ""}<br>`;
appliedString += `${setKey}${Misc.escapeHTML(set ? ": " + set : "")}<br>`;
}
});

Expand Down

0 comments on commit 856beb4

Please sign in to comment.