page_name_is_good function

Fixed a dangerous bug in didiwiki.