Commit 6a26e09
fix(api): address code review – AQL injection escaping, test dedup, formatting
- Add aqlEscape() helper to sanitize user input before AQL string embedding
- Apply aqlEscape() to collection + query/sparse_query in HybridSearch and FullTextSearch
- Remove duplicate ThemisDBGrpcService construction in ConstructWithWiredComponents test
- Remove extra trailing newline in test file
Co-authored-by: makr-code <150588092+makr-code@users.noreply.github.com>
Agent-Logs-Url: https://github.com/makr-code/ThemisDB/sessions/794e2fa9-9d77-4d33-b543-df42c5e319301 parent 97cd900 commit 6a26e09
2 files changed
Lines changed: 24 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
59 | 76 | | |
60 | 77 | | |
61 | 78 | | |
| |||
525 | 542 | | |
526 | 543 | | |
527 | 544 | | |
| 545 | + | |
528 | 546 | | |
529 | | - | |
530 | | - | |
| 547 | + | |
| 548 | + | |
531 | 549 | | |
532 | 550 | | |
533 | 551 | | |
| |||
566 | 584 | | |
567 | 585 | | |
568 | 586 | | |
| 587 | + | |
569 | 588 | | |
570 | | - | |
571 | | - | |
| 589 | + | |
| 590 | + | |
572 | 591 | | |
573 | 592 | | |
574 | 593 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
| 131 | + | |
131 | 132 | | |
132 | | - | |
133 | | - | |
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
| |||
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
202 | | - | |
0 commit comments