Fix Django Invalid HTTP_HOST header problem 67/31167/1
authorfujinhua <fu.jinhua@zte.com.cn>
Sun, 11 Feb 2018 01:17:39 +0000 (09:17 +0800)
committerfujinhua <fu.jinhua@zte.com.cn>
Sun, 11 Feb 2018 01:17:39 +0000 (09:17 +0800)
Change-Id: I643799fa5498af22f99c6c89f84a70b2d5ec517f
Issue-ID: VFC-756
Signed-off-by: fujinhua <fu.jinhua@zte.com.cn>
catalog/settings.py

index 0713236..913f308 100644 (file)
@@ -33,7 +33,7 @@ SECRET_KEY = '3o-wney!99y)^h3v)0$j16l9=fdjxcb+a8g+q3tfbahcnu2b0o'
 # SECURITY WARNING: don't run with debug turned on in production!
 DEBUG = True
 
-ALLOWED_HOSTS = []
+ALLOWED_HOSTS = ['*']
 
 # Application definition