send
send copied to clipboard
If a filename includes a dot, the extensions property does not work
trafficstars
This is essentially the same bug as https://github.com/koajs/send/issues/79 but the fix employed doesn't work if the actual filename includes a dot.
The issue is with this line: https://github.com/koajs/send/blob/master/index.js#L100
From looking at it, it really seems like we should drop the regex check altogether, but I don't fully understand why the regex check is there in the first place.
Max