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 03:13:28 +0000
commit0795a10e18f757c3d02ec32a5dc6ea484ae128f5 (patch)
tree86e6db8c6dc963879bd7bfab5bd3ebdb638c15be
parentb67827d6015d815790baed93e8c8880c98bdf127 (diff)
downloadacf-core-0795a10e18f757c3d02ec32a5dc6ea484ae128f5.tar.bz2
acf-core-0795a10e18f757c3d02ec32a5dc6ea484ae128f5.tar.xz
url encode clientdata in htmlviewfunctions.displaypagination
(cherry picked from commit 7751514db730f5b4ef92b40b8ea9295b04c37bba)
-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