imazen / imageflow-dotnet-server

A super-fast image server to speed up your site - deploy as a microservice, serverless, or embeddable.
https://docs.imageflow.io
GNU Affero General Public License v3.0
252 stars 33 forks source link

Dots in sanitize #28

Closed drphrozen closed 3 years ago

drphrozen commented 3 years ago

Shouldn't these be without the dot?

https://github.com/imazen/imageflow-dotnet-server/blob/f7f0b4abd1bb855ef97e096aa0ae5be82e121b85/src/Imageflow.Server/PathHelpers.cs#L61-L64

lilith commented 3 years ago

The default fallback is "jpg", so this doesn't actually matter, but it looks wrong. Thanks for reviewing the source code!