Skip to content

Commit b2ea44e

Browse files
Merge pull request #9 from shiftleft-chuck/Re-Intro-XSS
Update ImageLookup.js
2 parents 09b65fc + 622e8bd commit b2ea44e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/Controllers/ImageLookup.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,11 @@ class ImageLookup {
2626
res.send(fileContent);
2727
}
2828

29-
function sanitizeString(str){
30-
str = str.replace(/[^a-z0-9áéíóúñü \.,_-]/gim,"");
31-
return str.trim();
32-
}
29+
// function sanitizeString(str){
30+
// str = str.replace(/[^a-z0-9áéíóúñü \.,_-]/gim,"");
31+
// return str.trim();
32+
// }
33+
3334
}
3435

3536
module.exports = ImageLookup;

0 commit comments

Comments
 (0)