Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix /domain listings with IPv6 address

  • Loading branch information...
commit 2cfd44f8aef9cc30c33aeefcf728e4da8e637263 1 parent 6ea6a6d
k21 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  r2/r2/config/middleware.py
2  r2/r2/config/middleware.py
View
@@ -356,7 +356,7 @@ def __call__(self, environ, start_response):
return self.app(environ, start_response)
class DomainListingMiddleware(object):
- domain_pattern = re.compile(r'\A/domain/(([-\w]+\.)+[\w]+)')
+ domain_pattern = re.compile(r'\A/domain/(([-\w]+\.)+[\w]+|\[[0-9a-fA-F:]+\])')
def __init__(self, app):
self.app = app
Please sign in to comment.
Something went wrong with that request. Please try again.