GWicke has submitted this change and it was merged.

Change subject: Use urlencode so slashes can be encoded properly
......................................................................


Use urlencode so slashes can be encoded properly

Change-Id: I9e567b33251564b5429eada32f399a5fd949a8a8
---
M RestbaseUpdateJob.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  GWicke: Verified; Looks good to me, approved



diff --git a/RestbaseUpdateJob.php b/RestbaseUpdateJob.php
index 2347207..981881e 100644
--- a/RestbaseUpdateJob.php
+++ b/RestbaseUpdateJob.php
@@ -89,7 +89,7 @@
 
                // construct the URL
                return implode( '/', array( self::getRestbasePrefix(), 'page',
-                       'html', wfUrlencode( $title->getPrefixedDBkey() ), 
$revid ) );
+                       'html', urlencode( $title->getPrefixedDBkey() ), $revid 
) );
 
        }
 

-- 
To view, visit https://gerrit.wikimedia.org/r/196444
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9e567b33251564b5429eada32f399a5fd949a8a8
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/RestBaseUpdateJobs
Gerrit-Branch: master
Gerrit-Owner: Mobrovac <mobro...@wikimedia.org>
Gerrit-Reviewer: GWicke <gwi...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to