[Github-comments] [geany/geany] Gracefully handle proxies registering invalid extensions (#1212)

Matthew Brush notifications at xxxxx
Tue Sep 6 00:43:27 UTC 2016


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.

Note that it is documented to provide extensions without the dots, but it's easy to miss that one place (and in the proxy howto). IMO, we should at least print a warning for this case if not also fix the extension like in this PR.
You can view, comment on, or merge this pull request online at:

  https://github.com/geany/geany/pull/1212

-- Commit Summary --

  * Gracefully handle proxies registering invalid extensions

-- File Changes --

    M src/plugins.c (14)

-- Patch Links --

https://github.com/geany/geany/pull/1212.patch
https://github.com/geany/geany/pull/1212.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/pull/1212
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160905/57056ba7/attachment.html>


More information about the Github-comments mailing list