Merge pull request #483 from proski/autorun

Fix regression in domain to session type mapping
master
metalefty 8 years ago committed by GitHub
commit 0712cf2747

@ -583,7 +583,8 @@ xrdp_wm_init(struct xrdp_wm *self)
/* if autorun is configured in xrdp.ini, we enforce that module to be loaded */
g_strncpy(section_name, autorun_name, 255);
}
else if (self->session->client_info->domain[0] != '_')
else if (self->session->client_info->domain[0] != '\0' &&
self->session->client_info->domain[0] != '_')
{
/* domain names that starts with '_' are reserved for IP/DNS to
* simplify for the user in a proxy setup */

Loading…
Cancel
Save