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

Matthew Brush notifications at xxxxx
Tue Sep 6 15:21:38 UTC 2016


> @@ -1963,6 +1963,18 @@ static void pm_show_dialog(GtkMenuItem *menuitem, gpointer user_data)
>  }
>  
>  
> +static const gchar *fix_extension(const gchar *ext)
> +{
> +	if (*ext == '.')
> +	{
> +		g_warning(_("Proxy plugin extension '%s' starts with a dot, "
> +			"stripping. Please fix your proxy plugin."), ext);

indeed

-- 
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/files/4d0acad41751552c7b271e6d06bd64a9f9682e29#r77656626
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20160906/09bfc317/attachment.html>


More information about the Github-comments mailing list