summaryrefslogtreecommitdiff
path: root/upload-wiki.pl
diff options
context:
space:
mode:
authorAndras Timar <atimar@suse.com>2013-05-07 14:49:56 +0200
committerJan Holesovsky <kendy@suse.cz>2013-05-07 15:05:50 +0000
commitce4a33033e5b5e9f58bb9cf2c522afedaa9b1b3e (patch)
treef52b6d08a56723d19106f58b8256f15ed4f927b8 /upload-wiki.pl
parentb56864919adc5b2c36b354e365c93964bb611dab (diff)
fdo#64211 replace / to %2F in HIDs for wiki redirects
Change-Id: I93780b76e17a3b833ef4ee6a50bb0969ab8bb01c Reviewed-on: https://gerrit.libreoffice.org/3811 Reviewed-by: Jan Holesovsky <kendy@suse.cz> Tested-by: Jan Holesovsky <kendy@suse.cz>
Diffstat (limited to 'upload-wiki.pl')
-rwxr-xr-xupload-wiki.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/upload-wiki.pl b/upload-wiki.pl
index 1337900fd..13e2bc675 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/ ) {