Index: trunk/phase3/opensearch_desc.php |
— | — | @@ -19,7 +19,7 @@ |
20 | 20 | $title = Title::makeTitle( NS_SPECIAL, 'Search' ); |
21 | 21 | $template = $title->escapeFullURL( 'search={searchTerms}' ); |
22 | 22 | |
23 | | -$suggest = $wgScriptPath . '/api.php?action=opensearch&search={searchTerms}'; |
| 23 | +$suggest = htmlspecialchars($wgServer . $wgScriptPath . '/api.php?action=opensearch&search={searchTerms}'); |
24 | 24 | |
25 | 25 | |
26 | 26 | $response = $wgRequest->response(); |