Closed (fixed)
Project:
Webform Query
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
18 Oct 2018 at 21:57 UTC
Updated:
1 Nov 2018 at 22:29 UTC
Jump to comment: Most recent
1. Add curly braces to table names
2. Determine what to do with operators supplied by a developer/user
Currently there's no validation performed on the supplied operators, which could be anything. Perhaps establishing a whiltelist would be best. See Condition.php ( \Drupal\Core\Entity\Query\Sql\Condition )
https://api.drupal.org/api/drupal/core%21lib%21Drupal%21Core%21Database%... ( \Drupal\Core\Database\Query\Condition )
Comments
Comment #2
imclean commentedComment #3
imclean commentedAdd curly braces and ignore condition if the operator contains suspect characters.
Comment #5
imclean commented