Merge pull request #483 from proski/autorun
Fix regression in domain to session type mapping
This commit is contained in:
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 */
|
/* if autorun is configured in xrdp.ini, we enforce that module to be loaded */
|
||||||
g_strncpy(section_name, autorun_name, 255);
|
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
|
/* domain names that starts with '_' are reserved for IP/DNS to
|
||||||
* simplify for the user in a proxy setup */
|
* simplify for the user in a proxy setup */
|
||||||
|
Loading…
Reference in New Issue
Block a user