Hi Terry,

> On my wife's Moto G6 Plus (Android 8.0), this works well.  On my Moto
> G5 Plus (Android 7.0), the Home Page is too big and overflows the
> screen.

Is this the content of the web page being served?
https://github.com/nodogsplash/nodogsplash/blob/master/resources/splash.html

> I suspect this is to do with the built-in webserver that nodogsplash
> uses, because if I surf to the Home Page with nodogsplash disabled it
> works correctly.  I used nginx for the original content.

Does the page appear different between nodogsplash's HTTP server and
nginx in any other way that the size it's viewed at?  I don't think the
way the HTML is served can make a difference, but perhaps one of those
two isn't serving some other resource that the page references, e.g. an
image, due to misconfiguration and that's making the page size
different.

Try simplifying splash.html, e.g.

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv=Cache-Control content="no-cache, no-store, 
must-revalidate" />
    <meta http-equiv=Pragma content=no-cache />
    <meta http-equiv=Expires content=0 />
    <meta charset=utf-8 />
    <title>$gatewayname Entry</title>
    </head>
    <body>
    $gatewayname Hotspot Gateway.<br>
    Welcome!  For access to the Internet, please click Continue.<br>
    <form method=get action='$authaction'>
    <input type=hidden name=tok value='$tok'>
    <input type=hidden name=redir value='$redir'>
    <input type=submit value=Continue>
    </form>
    </body>
    </html>

Does the user need to see a splash page?  If not, then it could probably
redirect to `$authtarget' without the user having to read or click
`Continue'.

Cheers, Ralph.

-- 
Next meeting:  Bournemouth, Tuesday, 2018-07-17 20:00
Meets, Mailing list, IRC, LinkedIn, ...  http://dorset.lug.org.uk/
New thread:  mailto:dorset@mailman.lug.org.uk / CHECK IF YOU'RE REPLYING
Reporting bugs well:  http://goo.gl/4Xue     / TO THE LIST OR THE AUTHOR

Reply via email to