mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Merge pull request #1363 from holta/captive-patch-recent-androids
Captive Portal: patch capture-wsgi.py to test Android 7.x, 8.x, 9.x
This commit is contained in:
commit
224b343442
1 changed files with 1 additions and 1 deletions
|
@ -234,7 +234,7 @@ def android(environ, start_response):
|
|||
logger.debug("system < 6:%s"%system_version)
|
||||
location = '/android_splash'
|
||||
set_204after(ip,0)
|
||||
elif system_version.startswith('7'):
|
||||
elif system_version[:1] >= '7':
|
||||
location = "http://" + fully_qualified_domain_name + "/home"
|
||||
else:
|
||||
#set_204after(ip,20)
|
||||
|
|
Loading…
Reference in a new issue