Permalink
Browse files

Just kidding.

  • Loading branch information...
1 parent e30683a commit a10e8a0e69e76a38396003be0f483fb97f81b749 @ericholscher ericholscher committed Feb 19, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 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

0 comments on commit a10e8a0

Please sign in to comment.