From 2810005ef748045299b56267751132b582459324 Mon Sep 17 00:00:00 2001 From: rubo77 <github@r.z11.de> Date: Sun, 23 Oct 2016 21:49:12 +0200 Subject: [PATCH] escape hostname --- i18n/de.po | 10 +++++----- i18n/en.po | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/i18n/de.po b/i18n/de.po index 0d14c77..1a8e16f 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 880730f..0898f97 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> " "." -- GitLab