Link to admin UI in roundcube broken for WEB_WEBMAIL
path with more than two subdirectories
#3164
Labels
type/bug
Bug. Not working as intended
Environment & Version
master
Description
When
WEB_WEBMAIL
is set to a path with more than two subdirectories the link back to the mailu admin UI in roundcube is broken.This is due to the link not point to "
$WEB_ADMIN
" but to "../..$WEB_ADMIN
", seeMailu/webmails/roundcube/config/config.inc.php
Line 60 in 9d0325f
With less than two subdirectories this does not matter since the superfluous
../
are simply ignored.Replication Steps
WEB_WEBMAIL=/webmail/sub/directory
WEB_ADMIN=/admin
Observed behaviour
The browser navigates to
/webmail/admin
.Expected behaviour
The browser should navigate to
/admin
.Further background
The obvious solution would be to simply change
Mailu/webmails/roundcube/config/config.inc.php
Line 60 in 9d0325f
to
Unfortunately this doesn't work because the URL would the be "corrected" by roundcube to be relative to the skin directory
The text was updated successfully, but these errors were encountered: