File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -166,6 +166,7 @@ def test_str_validation():
166
166
167
167
def test_str_to_addr_list_validation ():
168
168
c = config .Config ()
169
+ assert c .proxy_allow_ips == ["127.0.0.1" , "::1" ]
169
170
assert c .forwarded_allow_ips == ["127.0.0.1" , "::1" ]
170
171
c .set ("forwarded_allow_ips" , "127.0.0.1,192.0.2.1" )
171
172
assert c .forwarded_allow_ips == ["127.0.0.1" , "192.0.2.1" ]
@@ -183,7 +184,7 @@ def test_str_to_addr_list_validation():
183
184
184
185
def test_str_to_list ():
185
186
c = config .Config ()
186
- assert c .forwarder_headers == ["SCRIPT_NAME" ]
187
+ assert c .forwarder_headers == ["SCRIPT_NAME" , "PATH_INFO" ]
187
188
c .set ("forwarder_headers" , "SCRIPT_NAME,REMOTE_USER" )
188
189
assert c .forwarder_headers == ["SCRIPT_NAME" , "REMOTE_USER" ]
189
190
c .set ("forwarder_headers" , "" )
You can’t perform that action at this time.
0 commit comments