Commit graph

2 commits

Author SHA1 Message Date
Mohammed Al Sahaf
1cab06b8a7
caddyhttp: fix randString sameCase dictionary to match its docs
The doc comment says randString excludes confusing characters like
I, l, 1, 0, O. When sameCase is true, uppercase letters are excluded,
and l and o should also be excluded. But the dictionary used when
sameCase was true still contained '0'. Drop it, and update the test
to match the actual documented exclusions.

Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
2026-10-19 11:20:29 +03:00
Mohammed Al Sahaf
605adcc9e4
RandString tests + doc fix
Signed-off-by: Mohammed Al Sahaf <msaa1990@gmail.com>
2026-10-19 11:16:13 +03:00