Photos
Blog
Projects
vanrenterghem.biz
projects
/
git.ikiwiki.info.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
do not display two glasses
[git.ikiwiki.info.git]
/
IkiWiki
/
Plugin
/
tla.pm
diff --git
a/IkiWiki/Plugin/tla.pm
b/IkiWiki/Plugin/tla.pm
index da4385446412635d3b4843e4b439e07cd399195b..11be248e8da9d90fe050da1ad57f643a7ae0cdf1 100644
(file)
--- a/
IkiWiki/Plugin/tla.pm
+++ b/
IkiWiki/Plugin/tla.pm
@@
-4,6
+4,7
@@
package IkiWiki::Plugin::tla;
use warnings;
use strict;
use IkiWiki;
use warnings;
use strict;
use IkiWiki;
+use URI::Escape q{uri_escape_utf8};
sub import {
hook(type => "checkconfig", id => "tla", call => \&checkconfig);
sub import {
hook(type => "checkconfig", id => "tla", call => \&checkconfig);
@@
-224,7
+225,8
@@
sub rcs_recentchanges ($) {
foreach my $file (@paths) {
my $diffurl=defined $config{diffurl} ? $config{diffurl} : "";
foreach my $file (@paths) {
my $diffurl=defined $config{diffurl} ? $config{diffurl} : "";
- $diffurl=~s/\[\[file\]\]/$file/g;
+ my $efile = uri_escape_utf8($file);
+ $diffurl=~s/\[\[file\]\]/$efile/g;
$diffurl=~s/\[\[rev\]\]/$change/g;
push @pages, {
page => pagename($file),
$diffurl=~s/\[\[rev\]\]/$change/g;
push @pages, {
page => pagename($file),