BIGFIX: 'Show Base64 Offsets' operation now escapes input before adding to tooltips.
This commit is contained in:
1 parent
20d9903572
commit
e4d30861d5
6 files changed
+37
-34
No files matched your search
@@ -875,7 +875,10 @@ var Utils = {
|
||||
* Utils.escape_html("A <script> tag");
|
||||
*/
|
||||
escape_html: function(str) {
|
||||
return str.replace(/</g, "<");
|
||||
return str.replace(/</g, "<")
|
||||
.replace(/'/g, "'")
|
||||
.replace(/"/g, '"')
|
||||
.replace(/&/g, "&");
|
||||
},
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user