Bug 1825894: Ignore extra parameters in webservices
We had a patch for ignoring parameters prefixed with 'custom_' in bug 1697909 - but there were still problems from users when trying to
install LTI connections.
So we will now ignore any unknown parameter and let the user know by
recording this in the Mahara error log - we however will not be
returning the info about the extra parameters back to the system that
made the webservice call
behatnotneeded
Change-Id: I0cf5d966833a48e7db13d48b9e0be87285934002
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 515cfba646dee807fda37faeb89f8e71d132b379)
Reviewed: https:/ /reviews. mahara. org/9821 /git.mahara. org/mahara/ mahara/ commit/ e39ac7ce2f9824a 67ac91e38fa76b8 0b4b392423
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: 19.04_STABLE
commit e39ac7ce2f9824a 67ac91e38fa76b8 0b4b392423
Author: Robert Lyon <email address hidden>
Date: Tue Apr 23 11:06:58 2019 +1200
Bug 1825894: Ignore extra parameters in webservices
We had a patch for ignoring parameters prefixed with 'custom_' in
bug 1697909 - but there were still problems from users when trying to
install LTI connections.
So we will now ignore any unknown parameter and let the user know by
recording this in the Mahara error log - we however will not be
returning the info about the extra parameters back to the system that
made the webservice call
behatnotneeded
Change-Id: I0cf5d966833a48 e7db13d48b9e0be 87285934002 7fda37faeb89f8e 71d132b379)
Signed-off-by: Robert Lyon <email address hidden>
(cherry picked from commit 515cfba646dee80