Skip to content

Commit

Permalink
Freeroam extended XSS fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zziger authored Sep 21, 2023
1 parent 4389864 commit c83d296
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions freeroam-extended/client/html/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ if (window.alt === undefined) {
}

function colorify(text) {
if (text && typeof text === 'string') text = text.replace(/[<>]/g, '');

let matches = [];
let m = null;
let curPos = 0;
Expand Down

0 comments on commit c83d296

Please sign in to comment.