Miyitus / the.wrong

The.Wrong Router software load the locally-hosted website http://the.wrong/
2 stars 1 forks source link

Captive Portal info Page => welcome.html not ok #27

Closed MaStr closed 5 years ago

MaStr commented 5 years ago

The custom welcome.html should be different

The ia_handler.php will redirect to / which will redirect to the wished hostname

MaStr commented 5 years ago

I did a quick test with that

        <html>
        <head><title>Redirect...</title>
        <meta http-equiv='refresh' content='0;url=/captive/ia_handler.php?enter=1' />
        <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' />
        </head>
        <body>
        Redirect
        </body>
        </html>

And that was working quite nicely on my iOS

BTW: My iOS is doing an auto-login, which might also preventing a auto startup of the captive portal browser

Miyitus commented 5 years ago

Ok I’ll add the handler

📎 MVS 👁 http://miyovanstenis.com/

De : Matthias Strubel Envoyé le :05 June 2019 22:22 À : miyovanstenis/the.wrong Cc : Miyö Van Stenis; Assign Objet :Re: [miyovanstenis/the.wrong] Captive Portal info Page =>welcome.html not ok (#27)

I did a quick test with that

Redirect... Redirect

And that was working quite nicely on my iOS — You are receiving this because you were assigned. Reply to this email directly, view it on GitHub, or mute the thread.

MaStr commented 5 years ago

BTW: My iOS is doing an auto-login, which might also preventing a auto startup of the captive portal browser