From 708474bb91c0c2c2c5bff3e312c3aae070d35a9d Mon Sep 17 00:00:00 2001 From: Tim Starling Date: Sun, 20 Aug 2006 05:18:57 +0000 Subject: [PATCH] another minor fix --- opensearch_desc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opensearch_desc.php b/opensearch_desc.php index 491b05a3b5..25649d6b09 100644 --- a/opensearch_desc.php +++ b/opensearch_desc.php @@ -15,7 +15,7 @@ if ( !preg_match( '/^https?:/', $wgFavicon ) ) { } $title = Title::makeTitle( NS_SPECIAL, 'Search' ); -$template = $title->getFullURL( 'search={searchTerms}' ); +$template = $title->escapeFullURL( 'search={searchTerms}' ); $response = $wgRequest->response(); $response->header( 'Content-type: application/opensearchdescription+xml' ); -- 2.20.1