1
0
Fork 0
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:
A Holt 2019-01-08 20:42:03 -05:00 committed by GitHub
commit 224b343442
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)