diff options
author | Stan Hu <stanhu@gmail.com> | 2019-01-13 07:11:26 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2019-01-13 08:02:02 -0800 |
commit | 2265ce34afe05d2011343cf5674db979e6c250de (patch) | |
tree | 61d364475faf1a6138885283e01e24c41f144e74 /doc/gitlab-basics/start-using-git.md | |
parent | 1161c99e5c5a6e717127b83665de00068d810e0e (diff) | |
download | gitlab-ce-2265ce34afe05d2011343cf5674db979e6c250de.tar.gz |
Fix no avatar not showing in user selection box
After upgrading to Ruby 2.5.3, we switched `URI.join` in favor of
`Gitlab::Utils.append_path`. However,
ActionController::Base.helpers.image_path can return a full URL if a CDN
host is present.
Rails provides a way to generate the full URL using the asset path, but
that doesn't appear to work because `request` is nil`.
Revert to the previous behavior to handle CDNs and relative URLs.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/56268
Diffstat (limited to 'doc/gitlab-basics/start-using-git.md')
0 files changed, 0 insertions, 0 deletions