neil il y a 1 an
Parent
commit
f86ee84457
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      dnsapi/dns_inwx.sh

+ 4 - 4
dnsapi/dns_inwx.sh

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