changeset 1061 | 4ef865b5f497 |
parent 1060 | d3e12f1f9f29 |
child 1069 | d54e7620bd3e |
--- a/includes/template.php Wed Jul 29 10:48:43 2009 -0400 +++ b/includes/template.php Wed Jul 29 11:48:54 2009 -0400 @@ -1771,7 +1771,7 @@ $params = false; $escape = !empty($escape); - $result = makeUrlNS($namespace, $page_id, $params, $escape); + $result = makeUrlNS($namespace, sanitize_page_id($page_id), $params, $escape); if ( !$post_eval ) {