diff options
author | Steven Barth <steven@midlink.org> | 2008-08-15 18:18:16 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-15 18:18:16 +0000 |
commit | d212e531d5b2b5933676b3ec3004c2be60980f97 (patch) | |
tree | 22be5c2b8563f62701621a1ae62d376b3efb682b /modules | |
parent | 5941f334ff118be916468101c7994a92e86cf0c2 (diff) |
Added missing value escaping
Fixed a typo (wrong if-condition)
Added support for Table objects in CBI
Diffstat (limited to 'modules')
4 files changed, 4 insertions, 4 deletions
diff --git a/modules/admin-full/luasrc/controller/admin/uci.lua b/modules/admin-full/luasrc/controller/admin/uci.lua index 215889f85f..c06683d716 100644 --- a/modules/admin-full/luasrc/controller/admin/uci.lua +++ b/modules/admin-full/luasrc/controller/admin/uci.lua @@ -34,7 +34,7 @@ function convert_changes(changes) val = "" else str = "" - val = "="..v + val = "="..luci.util.pcdata(v) end str = r.."."..s if o ~= ".type" then diff --git a/modules/admin-full/luasrc/view/admin_status/iwscan.htm b/modules/admin-full/luasrc/view/admin_status/iwscan.htm index cbba791e65..c0290d086b 100644 --- a/modules/admin-full/luasrc/view/admin_status/iwscan.htm +++ b/modules/admin-full/luasrc/view/admin_status/iwscan.htm @@ -34,7 +34,7 @@ $Id$ %> <tr> <td><%=iface%></td> -<td><%=cell.ESSID%></td> +<td><%=luci.util.pcdata(cell.ESSID)%></td> <td><%=cell.Address%></td> <td><%=cell.Mode%></td> <td><%=(cell.Channel or cell.Frequency or "")%></td> diff --git a/modules/admin-mini/luasrc/controller/mini/uci.lua b/modules/admin-mini/luasrc/controller/mini/uci.lua index 4eceae6293..5ba4f2949e 100644 --- a/modules/admin-mini/luasrc/controller/mini/uci.lua +++ b/modules/admin-mini/luasrc/controller/mini/uci.lua @@ -34,7 +34,7 @@ function convert_changes(changes) val = "" else str = "" - val = "="..v + val = "="..luci.util.pcdata(v) end str = r.."."..s if o ~= ".type" then diff --git a/modules/admin-mini/luasrc/view/mini/iwscan.htm b/modules/admin-mini/luasrc/view/mini/iwscan.htm index cbba791e65..c0290d086b 100644 --- a/modules/admin-mini/luasrc/view/mini/iwscan.htm +++ b/modules/admin-mini/luasrc/view/mini/iwscan.htm @@ -34,7 +34,7 @@ $Id$ %> <tr> <td><%=iface%></td> -<td><%=cell.ESSID%></td> +<td><%=luci.util.pcdata(cell.ESSID)%></td> <td><%=cell.Address%></td> <td><%=cell.Mode%></td> <td><%=(cell.Channel or cell.Frequency or "")%></td> |