•  
      request #8601 Avatar not displayed when non-standard SSL port used
    Infos
    #8601
    slamj1 (slamj1)
    2015-11-22 05:28
    2015-11-16 00:40
    8730
    Details
    Avatar not displayed when non-standard SSL port used
    The avatar image link generation for the UI does not account for a non-standard SSL port, hence the image not displayed.
    UX/UI
    8.8
    CentOS 6
    • [ ] enhancement
    • [ ] internal improvement
    Empty
    Stage
    Empty
    New
    Empty
    Attachments
    Empty
    References
    References list is empty

    Follow-ups

    User avatar
    slamj1 (slamj1)2015-11-22 05:28
    Changing the $sys_https_host setting to host.domain.com:7443 (for example) does not correct the problem. Looking at the code in file /usr/share/tuleap/src/www/users, the avatar URL composition code does not take into account a non standard port, even if $sys_https_host is set with the non-standard port:

    $avatar_path = ForgeConfig::get('sys_avatar_path', ForgeConfig::get('sys_data_dir') . '/user/avatar/');

    My solution currently is to append the port within this code. This probably should be made through the /etc/tuleap/conf/local.inc but I required a quick fix. I will work on a more robust solution to this minor issue.
    User avatar
    slamj1 (slamj1)2015-11-22 04:57
    No, I should have read the $sys_https_host comment more carefully. I didn't realize you could append the port to this setting - will try this - thanks.