Overview
Comment: | Fix unprotected search run from collective message (thanks @JPHespel) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
b60ab7e57bcb9dfa7c3689b4a1cf3ce9 |
User & Date: | bohwaz on 2020-12-29 19:27:32 |
Other Links: | manifest | tags |
Context
2020-12-29
| ||
19:42 | Upgrade plugins after restore, even if no general upgrade is required check-in: d116b0d3c0 user: bohwaz tags: trunk | |
19:27 | Fix unprotected search run from collective message (thanks @JPHespel) check-in: b60ab7e57b user: bohwaz tags: trunk | |
2020-12-24
| ||
18:55 | Fix default expiry date check-in: b4c1ee022b user: bohwaz tags: trunk | |
Changes
Modified src/include/lib/Garradin/Recherche.php from [881cfd9f9b] to [e0a0f10616].
︙ | ︙ | |||
153 154 155 156 157 158 159 | if ($search->type == self::TYPE_JSON) { $query = $search->query; $search->contenu = $this->buildQuery($search->cible, $query->query, $query->order, $query->desc, $no_limit ? 10000 : $query->limit); } | > > | | 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 | if ($search->type == self::TYPE_JSON) { $query = $search->query; $search->contenu = $this->buildQuery($search->cible, $query->query, $query->order, $query->desc, $no_limit ? 10000 : $query->limit); } $unprotected = $search->type == self::TYPE_SQL_UNPROTECTED; return $this->searchSQL($search->cible, $search->contenu, $force_select, $no_limit, $unprotected); } public function getResultHeader(string $target, array $result) { if (!count($result)) { return []; } |
︙ | ︙ |