mirror of
https://github.com/curl/curl.git
synced 2026-08-08 00:42:56 +03:00
spacecheck: verify filename lengths and characters
Maximum filename length 64, of which 48 maximum for the filename part.
Allowed characters: `A-Za-z0-9/._-`.
Also:
- rename a file to pass the check.
- init max constants outside the loop.
- minor fix to an error message.
Follow-up to 62d77b12fc #21087
Closes #21095
This commit is contained in:
parent
dc9a03e855
commit
afa71f1a22
3 changed files with 27 additions and 9 deletions
Loading…
Add table
Add a link
Reference in a new issue