VAMDC / NodeSoftware

Python/Django-based software for running VAMDC data nodes.
http://www.vamdc.eu
GNU General Public License v3.0
15 stars 23 forks source link

reject invalid queries #101

Closed ivh closed 12 years ago

ivh commented 12 years ago

The sql-parser is a little too "nice" when a part of a query is invalid. For example, when an invalid operator or no value is used with a valid restrictble, this invalid restriction gets ignored, retsulting in too much data being returned instead of the query rejected

ivh commented 12 years ago

fixed by using parseAll=True when calling SQL.parseString()