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>
Reviewed: https:/ /reviews. mahara. org/9818 /git.mahara. org/mahara/ mahara/ commit/ 515cfba646dee80 7fda37faeb89f8e 71d132b379
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 515cfba646dee80 7fda37faeb89f8e 71d132b379
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
Signed-off-by: Robert Lyon <email address hidden>