fix regexp of wiki page names
This commit is contained in:
parent
8de3652346
commit
481b82f343
1 changed files with 2 additions and 2 deletions
|
|
@ -35,8 +35,8 @@ class RedmineBrowser(BaseBrowser):
|
||||||
PAGES = {'%s/': IndexPage,
|
PAGES = {'%s/': IndexPage,
|
||||||
'%s/login': LoginPage,
|
'%s/login': LoginPage,
|
||||||
'%s/my/page': MyPage,
|
'%s/my/page': MyPage,
|
||||||
'%s/projects/([\w-]+)/wiki/(\w+)/edit': WikiEditPage,
|
'%s/projects/([\w-]+)/wiki/([\w_\-]+)/edit': WikiEditPage,
|
||||||
'%s/projects/[\w-]+/wiki/\w*': WikiPage,
|
'%s/projects/[\w-]+/wiki/[\w_\-]*': WikiPage,
|
||||||
}
|
}
|
||||||
|
|
||||||
def __init__(self, url, *args, **kwargs):
|
def __init__(self, url, *args, **kwargs):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue