Actions
Feature #1370
closedAPI: Refactoring
Start date:
2020-09-29
Estimated time:
Description
API Refactoring
- Removed the misleading [] in /query/ path
- Moved some api.py functions to path.py
- Refactored api.py for better modularity
- Class checking if they exist with g.classes object to eliminate if len = 0. g.classes
- Refactor error messages and added new error messages
- SQL filter method secured against SQL injections
- Multiple clauses with filter
- Changed filter request from e.g. and(like,name,XXX) to and|name|like|XXX
- Secure filter option
Updated by Bernhard Koschiček-Krombholz about 4 years ago
- Status changed from Acknowledged to Closed
Statement are secured. Right now, only one filter will work (Work in Progress, Ticket is opened)
Updated by Alexander Watzinger about 4 years ago
- Subject changed from API: Secure the sql statements to API: Secure SQL statements
Updated by Alexander Watzinger about 4 years ago
- Subject changed from API: Secure SQL statements to API: Refactoring
- Description updated (diff)
Collecting API refactoring for 5.6.0 in this issue.
Updated by Bernhard Koschiček-Krombholz about 4 years ago
- Description updated (diff)
Updated by Bernhard Koschiček-Krombholz about 4 years ago
- Description updated (diff)
Updated by Alexander Watzinger about 4 years ago
- Target version changed from 6.0.0 to 5.6.0
Actions