unicode bug #3390: uri_escape -> uri_escape_utf8
[irspy-moved-to-github.git] / web / htdocs / details / edit.mc
index 3ee62b4..de18268 100644 (file)
@@ -84,7 +84,7 @@ if (!defined $id) {
        # that the new record is not a duplicate of an existing one.
        my $rs = $conn->search(new ZOOM::Query::CQL(cql_target($newid)));
        if ($rs->size() > 0) {
-           my $qnewid = xml_encode(uri_escape($newid));
+           my $qnewid = xml_encode(uri_escape_utf8($newid));
            print qq[<p class="error">
                There is already
                <a href='?op=edit&amp;id=$newid'>a record</a>