wurmlab / sequenceserver

Intuitive graphical web interface for running BLAST bioinformatics tool (i.e. have your own custom NCBI BLAST site!)
https://sequenceserver.com
GNU Affero General Public License v3.0
268 stars 111 forks source link

Refactor inline JS for better CSP #768

Closed tadast closed 1 month ago

tadast commented 1 month ago

Move inline onclick js to where the rest of JS is and add a CSP nonce to the inline script tag where it's configured via https://github.com/wurmlab/rack_nonce_middleware/