# 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
# http://www.gnu.org/copyleft/gpl.html
-function wfSpecialGeo( $page = "" ) {
+/**
+ *
+ * @package MediaWiki
+ * @subpackage SpecialPage
+ */
+
+/**
+ *
+ */
+function wfSpecialGeo( $page = '' ) {
global $wgOut, $wgLang, $wgRequest;
- $coordinates = $wgRequest->getText( 'coordinates' ) ;
+ $coordinates = htmlspecialchars( $wgRequest->getText( 'coordinates' ) );
$coordinates = explode ( ":" , $coordinates ) ;
$ns = array_shift ( $coordinates ) ;
$ew = array_shift ( $coordinates ) ;