mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #56522
[Bug 1846653] Re: Need to correctly escape some plans sql queries
** Changed in: mahara
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1846653
Title:
Need to correctly escape some plans sql queries
Status in Mahara:
Fix Released
Bug description:
Some of the SQL queries in artefact/plans/tools/ directory rely on
sprintf substitution. This is bad as it breaks for things like values
with single quote as part of the string.
We should do these SQL queries with the normal placeholder
substitution to avoid this breakage and potential security hole.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1846653/+subscriptions
References