X-Git-Url: https://git.llucax.com/software/pymin.git/blobdiff_plain/eb4c1ca778c274b6c867968e17a38728ddf1a6af..5d2a72486a8ef72659df813e1c0feed41da3a667:/pymin/services/firewall/templates/iptables.sh diff --git a/pymin/services/firewall/templates/iptables.sh b/pymin/services/firewall/templates/iptables.sh index 80f4a32..e384d0e 100644 --- a/pymin/services/firewall/templates/iptables.sh +++ b/pymin/services/firewall/templates/iptables.sh @@ -4,7 +4,7 @@ # TODO escape shell commands more securely def s(text): - return repr(text.encode('utf-8')) + return repr(unicode(text).encode('utf-8')) def optional(switch, value): if value is not None: