From: Wolfram Schneider Date: Tue, 20 Apr 2010 15:38:43 +0000 (+0200) Subject: unicode bug #3390: uri_escape -> uri_escape_utf8 X-Git-Tag: CPAN-v1.02~122 X-Git-Url: http://git.indexdata.com/?p=irspy-moved-to-github.git;a=commitdiff_plain;h=6381c4e99c6e46de25e915c2b7e176936421bd0e unicode bug #3390: uri_escape -> uri_escape_utf8 --- diff --git a/web/htdocs/chrome/layout.mc b/web/htdocs/chrome/layout.mc index b1f054b..d7dc956 100644 --- a/web/htdocs/chrome/layout.mc +++ b/web/htdocs/chrome/layout.mc @@ -103,20 +103,20 @@ my $id = utf8param($r, "id");
This Target
- Show details + Show details
- ">Edit details + ">Edit details
- ">Copy target + ">Copy target
- Delete target + Delete target

- ">Quick Test + ">Quick Test
- ">Full Test + ">Full Test

- XML + XML

<%doc>
diff --git a/web/htdocs/details/delete.mc b/web/htdocs/details/delete.mc index 981f8b2..a1ae5f2 100644 --- a/web/htdocs/details/delete.mc +++ b/web/htdocs/details/delete.mc @@ -10,8 +10,8 @@ $really => 0 <% xml_encode($id) %>?

- Yes
- No
+ Yes
+ No

% } else { <%perl> diff --git a/web/htdocs/details/edit.mc b/web/htdocs/details/edit.mc index 3ee62b4..de18268 100644 --- a/web/htdocs/details/edit.mc +++ b/web/htdocs/details/edit.mc @@ -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[

There is already a record diff --git a/web/htdocs/details/found.mc b/web/htdocs/details/found.mc index 443181e..307239d 100644 --- a/web/htdocs/details/found.mc +++ b/web/htdocs/details/found.mc @@ -125,19 +125,19 @@ push @ids, $id; <% $i %> - <% xml_encode($title) %> <% xml_encode($reliability, "", { nbsp => 1 }) %> <% xml_encode($host, "") %> <% xml_encode($port, "") %> <% xml_encode($db, "") %> - Test " title="Edit this target's record">Edit XML @@ -149,11 +149,11 @@ print_navlink(\%params, $last < $n, "Next", $skip+$count);

[Test all targets on this list]

- [Statistics for targets on this list]

% } diff --git a/web/htdocs/details/upload.mc b/web/htdocs/details/upload.mc index c32df58..4a639ad 100644 --- a/web/htdocs/details/upload.mc +++ b/web/htdocs/details/upload.mc @@ -59,6 +59,6 @@ ZOOM::IRSpy::_rewrite_zeerex_record($conn, $xc->getContextNode());

Proceed to - the new record.