Barracuda09 / SATPI

SATIP server for linux, suitable to run on an Raspberry Pi, Vu+, GigaBlue or any other linux box. currently supporting DVB-S/S2/T/C and transform DVB-S requests to DVB-C
http://barracuda09.github.io/SATPI
GNU General Public License v2.0
154 stars 32 forks source link

Some JS bugs #194

Open Saentist opened 1 year ago

Saentist commented 1 year ago

javascript-alert found alert() call; should this be in production code? web/assets/js/addtableentry.js:7 web/assets/js/addtableentry.js:169 web/assets/js/postxmldoc.js:15

insecure-document-method User controlled data in methods like innerHTML, outerHTML or document.write is an anti-pattern that can lead to XSS vulnerabilities web/assets/js/addtableentry.js:30

Barracuda09 commented 1 year ago

Hi @Saentist

Thanks for bringing this to my attention.

But I am not a real expert in Web/JS design. I have managed to get this so far on just trying to make it work. So I would appreciate some help in redesigning and restructuring this.