Skip to content

Commit

Permalink
Merge pull request #602 from cloudflare/kenton/fix-agg-func-list
Browse files Browse the repository at this point in the history
Fix more mistakes in SQLite allowlist.
  • Loading branch information
kentonv authored May 3, 2023
2 parents d932b33 + 407ca4a commit ebf12b8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/workerd/util/sqlite.c++
Original file line number Diff line number Diff line change
Expand Up @@ -165,13 +165,11 @@ static constexpr kj::StringPtr ALLOWED_SQLITE_FUNCTIONS[] = {
"stftime"_kj,

// https://www.sqlite.org/lang_aggfunc.html
"aggfilter"_kj,
"aggfunclist"_kj,
"avg"_kj,
"count"_kj,
"group_concat"_kj,
"max_agg"_kj,
"min_agg"_kj,
"max"_kj,
"min"_kj,
"sum"_kj,
"total"_kj,

Expand Down

0 comments on commit ebf12b8

Please # to comment.