summaryrefslogtreecommitdiffhomepage
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/admin-full/luasrc/controller/admin/uci.lua2
-rw-r--r--modules/admin-full/luasrc/view/admin_status/iwscan.htm2
-rw-r--r--modules/admin-mini/luasrc/controller/mini/uci.lua2
-rw-r--r--modules/admin-mini/luasrc/view/mini/iwscan.htm2
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 215889f85..c06683d71 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 cbba791e6..c0290d086 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 4eceae629..5ba4f2949 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 cbba791e6..c0290d086 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>