From: Yuri Astrakhan Date: Mon, 16 Oct 2006 02:41:41 +0000 (+0000) Subject: fixed suggest URL X-Git-Tag: 1.31.0-rc.0~55471 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=cfff337cc6b8b331285cd76c9c7035609a77bb94;p=lhc%2Fweb%2Fwiklou.git fixed suggest URL --- diff --git a/opensearch_desc.php b/opensearch_desc.php index cd3638f89c..90bfe7d9dd 100644 --- a/opensearch_desc.php +++ b/opensearch_desc.php @@ -19,7 +19,7 @@ if ( !preg_match( '/^https?:/', $wgFavicon ) ) { $title = Title::makeTitle( NS_SPECIAL, 'Search' ); $template = $title->escapeFullURL( 'search={searchTerms}' ); -$suggest = $wgScriptPath . '/api.php?action=opensearch&search={searchTerms}'; +$suggest = htmlspecialchars($wgServer . $wgScriptPath . '/api.php?action=opensearch&search={searchTerms}'); $response = $wgRequest->response();