diff options
author | Andras Timar <atimar@suse.com> | 2013-05-07 14:49:56 +0200 |
---|---|---|
committer | Andras Timar <atimar@suse.com> | 2013-05-07 15:11:23 +0200 |
commit | c599d2dde1df55d8d743d4eaf3521dbb4db10361 (patch) | |
tree | b65b0bd4d06ea2461a20b030404aabad3eb40835 /upload-wiki.pl | |
parent | 87300967302507220e9a33e1f48d73779c584791 (diff) |
fdo#64211 replace / to %2F in HIDs for wiki redirects
Change-Id: I93780b76e17a3b833ef4ee6a50bb0969ab8bb01c
Diffstat (limited to 'upload-wiki.pl')
-rwxr-xr-x | upload-wiki.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upload-wiki.pl b/upload-wiki.pl index 94eb4cd1e8..4dd63bf5bf 100755 --- a/upload-wiki.pl +++ b/upload-wiki.pl @@ -122,6 +122,7 @@ sub upload_article { my $pagename = $File::Find::name; $pagename =~ s/^wiki\///; $pagename =~ s/\/MAIN$//; + $pagename =~ s/%2F/\//g; # pages starting with lowercase 's' are redirects if ( $pagename =~ /^s/ ) { |