From ce4a33033e5b5e9f58bb9cf2c522afedaa9b1b3e Mon Sep 17 00:00:00 2001 From: Andras Timar Date: Tue, 7 May 2013 14:49:56 +0200 Subject: fdo#64211 replace / to %2F in HIDs for wiki redirects Change-Id: I93780b76e17a3b833ef4ee6a50bb0969ab8bb01c Reviewed-on: https://gerrit.libreoffice.org/3811 Reviewed-by: Jan Holesovsky Tested-by: Jan Holesovsky --- upload-wiki.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'upload-wiki.pl') diff --git a/upload-wiki.pl b/upload-wiki.pl index 1337900fde..13e2bc6750 100755 --- a/upload-wiki.pl +++ b/upload-wiki.pl @@ -120,6 +120,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/ ) { -- cgit