Commit c507fc8e authored by Nolan's avatar Nolan

Add a | to the other SSID option.

This is less likely to collide with a real SSID, though still
possible.
parent ce372b2e
......@@ -126,9 +126,9 @@ def step1_post():
if mount not in [ i[1] for i in osal.get_mounts() ]:
raise Exception("Bad mountpoint from client!")
#XXX This is busted if your ssid is actually '__other'
#XXX This is busted if your ssid is actually '__|other'
ssid = request.forms.get("ssid").strip()
if ssid == "__other":
if ssid == "__|other":
ssid = request.forms.get("other_ssid").strip()
else:
ssid = ssid[1:]
......
......@@ -75,7 +75,7 @@
<br>
<div id="ssidlist">{{!ssidlist}}</div>
<div>
<input type="radio" name="ssid" value="__other">Other <input class="hideshow" type="text" name="other_ssid" value=""><br>
<input type="radio" name="ssid" value="__|other">Other <input class="hideshow" type="text" name="other_ssid" value=""><br>
</div>
<input type="radio" name="ssid" value="" required>None. I'm using wired ethernet.
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment