mirror of
https://github.com/jazzband/django-analytical.git
synced 2026-03-16 22:20:25 +00:00
Merge pull request #77 from bittner/master
Allow local host names for Piwik servers
This commit is contained in:
commit
7fcadd3000
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ from analytical.utils import (is_internal_ip, disable_html,
|
|||
|
||||
|
||||
# domain name (characters separated by a dot), optional URI path, no slash
|
||||
DOMAINPATH_RE = re.compile(r'^(([^./?#@:]+\.)+[^./?#@:]+)+(/[^/?#@:]+)*$')
|
||||
DOMAINPATH_RE = re.compile(r'^(([^./?#@:]+\.)*[^./?#@:]+)+(/[^/?#@:]+)*$')
|
||||
|
||||
# numeric ID
|
||||
SITEID_RE = re.compile(r'^\d+$')
|
||||
|
|
|
|||
Loading…
Reference in a new issue