From: Tim Starling Date: Sun, 20 Aug 2006 05:18:57 +0000 (+0000) Subject: another minor fix X-Git-Tag: 1.31.0-rc.0~55944 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/ajouter.php?a=commitdiff_plain;h=708474bb91c0c2c2c5bff3e312c3aae070d35a9d;p=lhc%2Fweb%2Fwiklou.git another minor fix --- 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' );