mediawiki-extensions-Scribunto/engines
Brad Jorsch f52136eada Handle invalid keys in Lua-to-PHP calls for LuaStandalone
PHP can't handle having arrays/objects or functions as keys in its
arrays, so make sure we don't try to pass them from Lua. Booleans aren't
really well-handled either, so let's disallow them too.

Also, add tests for proper stringification of floats and infinities when
those are used as keys.

Note this behavior change is needed to match the change in LuaSandbox
for fixing bug 54527, but isn't itself a security issue.

Change-Id: I1e2951bbe8cb78358650ad377bf7119fcac4485d
2014-01-14 10:03:42 -05:00
..
LuaCommon Merge "Add mw.html to Scribunto" 2014-01-07 14:09:46 +00:00
LuaSandbox (bug 39655) Add Lua version info to Special:Version 2013-03-25 04:07:30 +00:00
LuaStandalone Handle invalid keys in Lua-to-PHP calls for LuaStandalone 2014-01-14 10:03:42 -05:00