diff --git a/i18n/de.po b/i18n/de.po
index 0d14c7756183cbbf02863729298fce9389bb6bb6..1a8e16f4257fc5298cced33d826c6b3954476f30 100644
--- a/i18n/de.po
+++ b/i18n/de.po
@@ -26,10 +26,10 @@ msgstr ""
 "<p>Dies ist der öffentliche Schlüssel deines Freifunkknotens. Erst nachdem "
 "er auf den Servern des Freifunk-Nord-Projektes eingetragen wurde, "
 "kann sich dein Knoten mit dem Freifunk-Nord Mesh-VPN verbinden. "
-"Bitte trage dazu diesen Schlüssel, den Namen deines Knotens (<em><%=hostname%></em>) und ein paar andere Informationen unter "
-"<a href=\"https://formular.nord.freifunk.net/#/new?hostname=<%=hostname%>&key=<%=pubkey%>&mac=<%= sysconfig.primary_mac %>\" target=\"_blank\">https://formular.ffnord.net/</a> ein.</p>"
+"Bitte trage dazu diesen Schlüssel, den Namen deines Knotens (<em><%= escape(hostname) %></em>) und ein paar andere Informationen unter "
+"<a href=\"https://formular.nord.freifunk.net/#/new?hostname=<%= urlescape(hostname) %>&key=<%=pubkey%>&mac=<%= sysconfig.primary_mac %>\" target=\"_blank\">https://formular.ffnord.net/</a> ein.</p>"
 "<div class=\"the-key\">"
-" # <%= hostname %>"
+" # <%= escape(hostname) %>"
 " <br/>"
 "<%= pubkey %>"
 "</div>"
@@ -46,6 +46,6 @@ msgstr ""
 msgid "gluon-config-mode:nopubkey"
 msgstr ""
 "Bitte trage nun den Namen deines Knotens "
-"(<em><%=hostname%></em>) und ein paar andere Informationen unter "
-"<a href=\"https://formular.nord.freifunk.net/#/new?hostname=<%=hostname%>&mac=<%= sysconfig.primary_mac %>\" target=\"_blank\">https://formular.ffnord.net/</a> "
+"(<em><%= escape(hostname) %></em>) und ein paar andere Informationen unter "
+"<a href=\"https://formular.nord.freifunk.net/#/new?hostname=<%= urlescape(hostname) %>&mac=<%= sysconfig.primary_mac %>\" target=\"_blank\">https://formular.ffnord.net/</a> "
 "ein."
diff --git a/i18n/en.po b/i18n/en.po
index 880730f95cc009ca2dfe9b98fdddf4387a2e48d1..0898f97ce3a199d227d0bf8b3addaa17c9216ee7 100644
--- a/i18n/en.po
+++ b/i18n/en.po
@@ -24,10 +24,10 @@ msgstr ""
 "<p>This is the public key for your Freifunk node. You can only "
 "connect the node to the Freifunk Nord mesh VPN after the key has been registered on "
 "the Freifunk Nord servers. "
-"Please register your key, the name of your node (<em><%=hostname%></em>), and a bit of additional info at "
-"<a href=\"https://formular.nord.freifunk.net/#/new?hostname=<%=hostname%>&key=<%=pubkey%>&mac=<%= sysconfig.primary_mac %>\" target=\"_blank\">https://formular.ffnord.net/</a>.</p>"
+"Please register your key, the name of your node (<em><%= escape(hostname) %></em>), and a bit of additional info at "
+"<a href=\"https://formular.nord.freifunk.net/#/new?hostname=<%= urlescape(hostname) %>&key=<%=pubkey%>&mac=<%= sysconfig.primary_mac %>\" target=\"_blank\">https://formular.ffnord.net/</a>.</p>"
 "<div class=\"the-key\">"
-" # <%= hostname %>"
+" # <%= escape(hostname) %>"
 " <br/>"
 "<%= pubkey %>"
 "</div>"
@@ -43,6 +43,6 @@ msgstr ""
 msgid "gluon-config-mode:nopubkey"
 msgstr ""
 "Please enter the name of your node "
-"(<em><%=hostname%></em>) and some additional information at "
-"<a href=\"https://formular.nord.freifunk.net/#/new?hostname=<%=hostname%>&mac=<%= sysconfig.primary_mac %>\" target=\"_blank\">https://formular.ffnord.net/</a> "
+"(<em><%= escape(hostname) %></em>) and some additional information at "
+"<a href=\"https://formular.nord.freifunk.net/#/new?hostname=<%= urlescape(hostname) %>&mac=<%= sysconfig.primary_mac %>\" target=\"_blank\">https://formular.ffnord.net/</a> "
 "."