Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Just kidding.

  • Loading branch information...
commit a10e8a0e69e76a38396003be0f483fb97f81b749 1 parent e30683a
@ericholscher ericholscher authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  readthedocs/core/underscore_middleware.py
View
2  readthedocs/core/underscore_middleware.py
@@ -5,7 +5,7 @@
import re
from django import http
-host_validation_re = re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9:]+\])(:\d+)?$")
+host_validation_re = re.compile(r"^([a-z0-9_.-]+|\[[a-f0-9]*:[a-f0-9:]+\])(:\d+)?$")
#host_validation_re = re.compile(r"^([a-z0-9.-]+|\[[a-f0-9]*:[a-f0-9:]+\])(:\d+)?$")
http.host_validation_re = host_validation_re
Please sign in to comment.
Something went wrong with that request. Please try again.