Bug 1697909: 'custom_' unknown param not an exception in WS
If an LTI parameter is unknown and prefixed with 'custom_',
drop it from the data passed to the handler function.
Then if the site is in non-production mode,
also show this information.
behatnotneeded
Change-Id: I3fac19c27df2b9f072b8cdbcb8a2458c506c018e
(cherry picked from commit e120d8fd2a6c20b8ae510d1e16deb113dbd6f85d)
Reviewed: https:/ /reviews. mahara. org/7895 /git.mahara. org/mahara/ mahara/ commit/ b6c70e6a415a5d9 90eea69cf11cee7 bf27d27c53
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 17.04_STABLE
commit b6c70e6a415a5d9 90eea69cf11cee7 bf27d27c53
Author: Cecilia Vela Gurovic <email address hidden>
Date: Wed Jul 12 16:13:53 2017 +1200
Bug 1697909: 'custom_' unknown param not an exception in WS
If an LTI parameter is unknown and prefixed with 'custom_',
drop it from the data passed to the handler function.
Then if the site is in non-production mode,
also show this information.
behatnotneeded
Change-Id: I3fac19c27df2b9 f072b8cdbcb8a24 58c506c018e 8ae510d1e16deb1 13dbd6f85d)
(cherry picked from commit e120d8fd2a6c20b