Gracefully handle proxies registering invalid extensions (#1212)
commitcc18dd0e60938141bc702ed3da3218e1144de2a4
authorMatthew Brush <mbrush@codebrainz.ca>
Sun, 11 Sep 2016 02:24:16 +0000 (10 19:24 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Sep 2016 02:24:16 +0000 (10 19:24 -0700)
tree63a5bb35eed69d0e13fc408adb355052623ca476
parent7d172ceeb3b024c6d206758a0b80631c0b935590
Gracefully handle proxies registering invalid extensions (#1212)

It is very hard to debug if the proxy plugin happens to give
extensions starting with a dot. If they do, detect this case, warn
in the debug messages, and fix the extension. It seems unlikely
that files with two dot extensions will be desired, so it should
case no harm.
src/plugins.c