From 5bc0fd8abadd87d140b09ea6df59bbd932cdc054 Mon Sep 17 00:00:00 2001 From: "Ariel T. Glenn" Date: Mon, 25 Mar 2019 18:50:27 +0200 Subject: [PATCH] fix up new text address handling in page content dumps Broken in I979b6c8f0a72bc1f5ecce1d499d3fdfa0f671588 Bug: T174031 Change-Id: Ia31fc7b559f59d53bb503a59abf9110f0e65178c --- maintenance/dumpTextPass.php | 1 + 1 file changed, 1 insertion(+) diff --git a/maintenance/dumpTextPass.php b/maintenance/dumpTextPass.php index f515df70f4..61c63e996b 100644 --- a/maintenance/dumpTextPass.php +++ b/maintenance/dumpTextPass.php @@ -839,6 +839,7 @@ TEXT if ( $newAddress === false ) { return false; } + $newAddress = trim( $newAddress ); if ( strpos( $newAddress, ':' ) === false ) { $newAddress = SqlBlobStore::makeAddressFromTextId( intval( $newAddress ) ); } -- 2.20.1