<p>In <a href="https://github.com/geany/geany/pull/629#discussion_r41072107">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>Doesn't seem to be true if I can read it (quickly) correctly: <code>load_active_plugins()</code> read <code>active_plugins_pref</code> directly, which was loaded from the config file. There the path is obviously absolute (and it's the case in my local Geany's config), as it's checked for existence.<br>
So AFAICT I could at least force a <code>\</code> in the path by manually editing the config file.</p>
<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#r41072107">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/ABDrJ37k4qmUnqsyU0OdhJnxGtWAfZjDks5o3vXvgaJpZM4Fy7fG.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#r41072107"></link>
<meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>