use strict;
use warnings;
use PublicInbox::Config;
-use URI::Escape qw(uri_escape_utf8);
+use PublicInbox::MID qw(mid_escape);
sub new {
my ($class, $pi_config) = @_;
# article IDs are not stable across clones,
# do not encourage caching/bookmarking them
$code = 302;
- $url .= uri_escape_utf8($mid) . '/';
+ $url .= mid_escape($mid) . '/';
}
}