Subject: | regexes in 'dirs' broken |
According to the documentation the entries in 'dirs' can be either static directory names (strings) or regexes (qr// objects). This is wrong.
Up to version 0.14 the module didn't actually support strings and treated everything as a regex.
Version 0.15 "fixed" this by disabling regexes and treating everything as a fixed string instead.
The test that's supposed to make sure qr/.../ works is broken: it sets dirs => [qr/^images/] and requests '/images/catalyst.png'. This succeeds because the filename contains a '.', so it's served by C:P:S:S no matter what directories are configured.