Closed raphaelokon closed 3 years ago
Hi there. From what I see the regex in the .htaccess rule here does not match because of the {10}… shouldn’t this be set to {32}?
.htaccess
{10}
{32}
# RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.+)\.([0-9a-z]{10})\.(js|css)$ $1.$3 [L]
Addendum: Just checked https://github.com/bnomei/kirby3-fingerprint/blob/master/classes/FingerprintFile.php#L108 and since you use md5_file(), the hash is a 32-character hexadecimal number.
md5_file()
Hi there. From what I see the regex in the
.htaccess
rule here does not match because of the{10}
… shouldn’t this be set to{32}
?Addendum: Just checked https://github.com/bnomei/kirby3-fingerprint/blob/master/classes/FingerprintFile.php#L108 and since you use
md5_file()
, the hash is a 32-character hexadecimal number.