summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2015-10-04 02:50:25 +0000
committerTed Trask <ttrask01@yahoo.com>2015-10-04 02:50:25 +0000
commit7751514db730f5b4ef92b40b8ea9295b04c37bba (patch)
tree6e54377571ee02198da3be4fe2159a1a5eb93a7d
parent828b88a6ce2a083484e7cf09ad122896f0f14c15 (diff)
downloadacf-core-7751514db730f5b4ef92b40b8ea9295b04c37bba.tar.bz2
acf-core-7751514db730f5b4ef92b40b8ea9295b04c37bba.tar.xz
url encode clientdata in htmlviewfunctions.displaypagination
-rw-r--r--lib/htmlviewfunctions.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/htmlviewfunctions.lua b/lib/htmlviewfunctions.lua
index e9e2fe2..53f4ee5 100644
--- a/lib/htmlviewfunctions.lua
+++ b/lib/htmlviewfunctions.lua
@@ -398,7 +398,7 @@ function mymodule.displaypagination(page_data, page_info)
if (type(val) == "table") then
serialize_clientdata(val, prefix..name..".")
else
- clientdata[#clientdata + 1] = prefix..name.."="..val
+ clientdata[#clientdata + 1] = prefix..name.."="..html.url_encode(val)
end
end
end