From 7b5cd075161bd4e1a05070d51cc64b38882ae74b Mon Sep 17 00:00:00 2001 From: JP Appel Date: Sun, 27 Jul 2025 20:50:37 -0400 Subject: Remove unimplemented external command operators Executing external commands against file metadata is a serious security risk. The desired features of most external commands can be safely implemented using SQLite native functions. --- pkg/query/lexer_test.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'pkg/query/lexer_test.go') diff --git a/pkg/query/lexer_test.go b/pkg/query/lexer_test.go index fb329ba..5888902 100644 --- a/pkg/query/lexer_test.go +++ b/pkg/query/lexer_test.go @@ -22,8 +22,6 @@ const ( TOK_OP_LE = query.TOK_OP_LE TOK_OP_GE = query.TOK_OP_GE TOK_OP_GT = query.TOK_OP_GT - TOK_OP_PIPE = query.TOK_OP_PIPE - TOK_OP_ARG = query.TOK_OP_ARG TOK_CAT_TITLE = query.TOK_CAT_TITLE TOK_CAT_AUTHOR = query.TOK_CAT_AUTHOR TOK_CAT_DATE = query.TOK_CAT_DATE -- cgit v1.2.3