mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-01-27 15:58:06 -05:00
wiki: Allow dashes in page names.
This commit is contained in:
@@ -177,7 +177,7 @@ def normalize_page(page):
|
||||
class AbortWikiError(Exception):
|
||||
pass
|
||||
|
||||
page_match_regex = re.compile(r'^[\w_/]+\Z')
|
||||
page_match_regex = re.compile(r'^[\w_\-/]+\Z')
|
||||
|
||||
class VWikiModerator(VSrModerator):
|
||||
def __init__(self, fatal=False, *a, **kw):
|
||||
|
||||
Reference in New Issue
Block a user