tazbug rev 160 tip
bugs.cgi: filter '*' too
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Nov 28 10:25:47 2019 +0100 (2019-11-28) |
parents | 8fcbcf75a882 |
children | |
files | web/bugs.cgi |
line diff
1.1 --- a/web/bugs.cgi Tue Feb 26 08:28:10 2019 +0100 1.2 +++ b/web/bugs.cgi Thu Nov 28 10:25:47 2019 +0100 1.3 @@ -67,7 +67,8 @@ 1.4 } 1.5 1.6 GETfiltered() { 1.7 - GET $1 | sed -e "s/'/\'/g; s|\n|<br/>|g; s/\t/\	/g; s/\"/\\\\&/g" 1.8 + GET $1 | sed -e "s/'/\'/g; s|\n|<br/>|g; s/\t/\	/g; " \ 1.9 + -e "s/\"/\\\\&/g; s/\*/\\\\&/g;" 1.10 } 1.11 1.12 js_redirection_to() {