|
@ -165,10 +165,10 @@ _inwx_check_cookie() { |
|
|
|
|
|
|
|
|
_htmlEscape() { |
|
|
_htmlEscape() { |
|
|
_s="$1" |
|
|
_s="$1" |
|
|
_s=$(echo "$_s" | sed "s/&/&/g") |
|
|
|
|
|
_s=$(echo "$_s" | sed "s/</\</g") |
|
|
|
|
|
_s=$(echo "$_s" | sed "s/>/\>/g") |
|
|
|
|
|
_s=$(echo "$_s" | sed 's/"/\"/g') |
|
|
|
|
|
|
|
|
_s=$(echo "$_s" | sed "s/&/&/g") |
|
|
|
|
|
_s=$(echo "$_s" | sed "s/</\</g") |
|
|
|
|
|
_s=$(echo "$_s" | sed "s/>/\>/g") |
|
|
|
|
|
_s=$(echo "$_s" | sed 's/"/\"/g') |
|
|
printf -- %s "$_s" |
|
|
printf -- %s "$_s" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|