diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-02-20 08:18:11 +0100 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2024-02-20 08:18:11 +0100 |
| commit | afc5cf0dfcb8c507315e40d71ee305fa130be6db (patch) | |
| tree | fe81e997d268e3589eb4c657887d05a88dc6a160 /libweb | |
| parent | b7f232366c03dad8afbbb8ed5ba44314e42b13fd (diff) | |
| download | slcl-afc5cf0dfcb8c507315e40d71ee305fa130be6db.tar.gz | |
main.c: Reject invalid /public/ requestsv0.2.1-rc3
Otherwise:
- slcl would accept /public/ (i.e., without a file name) as a valid
resource. This would incorrectly map the public/ directory on the
database, making slcl to return -1 because public/ is not a regular
file.
- slcl would accept directory names (e.g.: /public/dir/), which is never
expected since slcl stores all public files into a single directory.
Diffstat (limited to 'libweb')
0 files changed, 0 insertions, 0 deletions
