Skip to content

Fix missing quote in quiz session insertion

Matthias Larisch requested to merge fix-quiz into master

Closes #480 (closed)

What does this MR do?

  • Together with the SQL injection there was a slight "fix" to avoid broken quiz session data, which lead to missing quotes in a SQL query. This converts the whole broken query into a gateway to finally fix it :)

How confident are you it won't break things if deployed?

tested locally, @alangecker hold me back from writing tests as it is not the time now :D

Links to related issues

Checklist

  • added a test, or explain why one is not needed/possible...
  • no unrelated changes
  • asked someone for a code review
  • joined #foodsharing-beta channel at https://slackin.yunity.org
  • added an entry to CHANGELOG.md (description, merge request link, username(s))

Merge request reports