avoid double utf8 encoding, IR-355
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 3 Sep 2014 13:33:32 +0000 (13:33 +0000)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 3 Sep 2014 13:33:32 +0000 (13:33 +0000)
uri_escape_utf8 -> uri_escape()

web/htdocs/details/delete.mc

index fce37c1..cc0723d 100644 (file)
@@ -9,8 +9,8 @@ $really => 0
       <% xml_encode($id) %>?
      </p>
      <p>
-      <a href="?really=1&amp;id=<% xml_encode(uri_escape_utf8($id)) %>">Yes</a><br/>
-      <a href="/full.html?id=<% xml_encode(uri_escape_utf8($id)) %>">No</a><br/>
+      <a href="?really=1&amp;id=<% xml_encode(uri_escape($id)) %>">Yes</a><br/>
+      <a href="/full.html?id=<% xml_encode(uri_escape($id)) %>">No</a><br/>
      </p>
 % } else {
 <%perl>