Matt4 / micropython-captive-portal-network-setup

A MicroPython Captive Portal for Setting Network Options on the Fly
32 stars 9 forks source link

Can't add more paramethers on captive portal #3

Open marcellomaugeri opened 4 years ago

marcellomaugeri commented 4 years ago

I've tried to modify index.html to add more paramethers on the form, but I can't even see it on my phone. What should I do?

Matt4 commented 4 years ago

You likely need to update the regex with the additional parameters in the URL here: https://github.com/Matt4/micropython-captive-portal-network-setup/blob/master/boot.py#L102

oujialiang commented 6 months ago

I've fixed this bug, just patched boot.py, line 52, b"\x00\x00\x00\x00" to b"\x00\x01\x00\x00\x00\x00".