wirelessclient.cgi: fix handling of "'" 2nd try.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sun, 6 Oct 2013 16:37:15 +0000 (18:37 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sun, 6 Oct 2013 16:37:15 +0000 (18:37 +0200)
html/cgi-bin/wirelessclient.cgi

index c6e20a0..3c52803 100644 (file)
@@ -446,7 +446,7 @@ sub showEditBox() {
                        <table width='100%'>
                                <tr>
                                        <td class='base' width='20%'>$Lang::tr{'wlan client ssid'}:</td>
                        <table width='100%'>
                                <tr>
                                        <td class='base' width='20%'>$Lang::tr{'wlan client ssid'}:</td>
-                                       <td width='40%'><input type='text' name='SSID' value='$settings{'SSID'}' size='25'/></td>
+                                       <td width='40%'><input type='text' name='SSID' value="$settings{'SSID'}" size='25'/></td>
                                        <td class='base' width='10%'>$Lang::tr{'enabled'}</td>
                                        <td width='30%'><input type='checkbox' name='ENABLED' $checked{'ENABLED'} /></td>
                                </tr>
                                        <td class='base' width='10%'>$Lang::tr{'enabled'}</td>
                                        <td width='30%'><input type='checkbox' name='ENABLED' $checked{'ENABLED'} /></td>
                                </tr>
@@ -464,7 +464,7 @@ sub showEditBox() {
                                </tr>
                                <tr>
                                        <td class='base' width='20%'>$Lang::tr{'wlan client psk'}:&nbsp;</td>
                                </tr>
                                <tr>
                                        <td class='base' width='20%'>$Lang::tr{'wlan client psk'}:&nbsp;</td>
-                                       <td width='40%'><input type='password' name='PSK' value='$settings{'PSK'}' size='25'/></td>
+                                       <td width='40%'><input type='password' name='PSK' value="$settings{'PSK'}" size='25'/></td>
                                        <td colspan="2" width='40%'></td>
                                </tr>
                        </table>
                                        <td colspan="2" width='40%'></td>
                                </tr>
                        </table>