Log when invalid input is swallowed by database layer

Created on 29 January 2014, over 10 years ago
Updated 14 February 2024, 7 months ago

Follow-up from #829464: orderby() should verify direction [DONE] and escape fields . I think we should consider triggering some kind of error when the database layer converts invalid input to defaults - this could for example warn about an automated SQL injection attempt.

There were good reasons for not throwing an exception there, but not sure that rules out any kind of error - we could just do trigger_error() for example.

📌 Task
Status

Closed: outdated

Version

9.5

Component
Database 

Last updated 1 minute ago

  • Maintained by
  • 🇳🇱Netherlands @daffie
Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024