mirror of https://github.com/searxng/searxng
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2b26285a73
The CSP issue is, that the `_Position` function in the autocomplete-js set the style attributes by `setAttribute("style", ...)`. Using `setAttribute` to set the style attribute invokes the HTML parser and CSP is triggered [1]. This patch overwrite the `_Position` function of autocomplete-js. BTW: remove trailing whitespace [1] https://stackoverflow.com/a/57633533 Closes: https://github.com/searxng/searxng/issues/352 Signed-off-by: Markus Heiser <markus.heiser@darmarit.de> |
3 years ago | |
---|---|---|
.. | ||
css | 3 years ago | |
img | 3 years ago | |
js | 3 years ago | |
src | 3 years ago | |
.eslintrc.json | 3 years ago | |
.gitignore | 3 years ago | |
.jshintrc | 3 years ago | |
.stylelintrc.json | 3 years ago | |
gruntfile.js | 3 years ago | |
package.json | 3 years ago | |
svg4favicon.svgo.js | 3 years ago | |
svg4web.svgo.js | 3 years ago |