<p>In <a href="https://github.com/geany/geany/pull/629#discussion_r41069404">src/plugins.c</a>:</p>
<pre style='color:#555'>> @@ -830,25 +1011,80 @@ static gboolean check_plugin_path(const gchar *fname)
>  }
>  
>  
> +/* Retuns NULL if this ain't a plugin,
> + * otherwise it returns the appropriate PluginProxy instance to load it */
> +static PluginProxy* is_plugin(const gchar *file)
> +{
> +  GList *node;
> +  const gchar *ext;
> +
> +  /* extract file extension to avoid g_str_has_suffix() in the loop */
> +  ext = (const gchar *)strrchr(file, '.');
> +  if (ext == NULL)
> +          return FALSE;
> +  /* ensure the dot is really part of the filename */
> +  else if (strchr(ext, G_DIR_SEPARATOR) != NULL)
> +          return FALSE;
</pre>
<p>unfortunately yes, something like adding</p>

<div class="highlight highlight-source-c"><pre>#<span class="pl-k">ifdef</span> G_OS_WIN32
    <span class="pl-k">else</span> <span class="pl-k">if</span> (strchr(ext, <span class="pl-s"><span class="pl-pds">'</span>/<span class="pl-pds">'</span></span>) != <span class="pl-c1">NULL</span>)
        <span class="pl-k">return</span> <span class="pl-c1">FALSE</span>;
#<span class="pl-k">endif</span></pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/geany/geany/pull/629/files#r41069404">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ_9CmI375ejBFikGYsf7MVkczRn4ks5o3u26gaJpZM4Fy7fG.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/geany/geany/pull/629/files#r41069404"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>