diff options
author | Stan Hu <stanhu@gmail.com> | 2018-11-09 15:31:26 -0800 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-11-09 15:36:45 -0800 |
commit | 39f252254b535e58fe50e722a4ba5d95b17fc90d (patch) | |
tree | dd7312cab3c2f07247112c852ea92c205a21c2c0 /doc/gitlab-basics/add-merge-request.md | |
parent | 4aa41d07e16ca03f5f56b7cc5c136d86d51666c2 (diff) | |
download | gitlab-ce-39f252254b535e58fe50e722a4ba5d95b17fc90d.tar.gz |
Make sure there's only one slash as path separatorsh-53180-append-path
In Ruby 2.4, `URI.join("http://test//", "a").to_s` will
remove the double slash, however it's not the case in
Ruby 2.5. Using chomp should work better for the intention,
as we're not trying to allow things like ../ or / paths
resolution.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/53180
Diffstat (limited to 'doc/gitlab-basics/add-merge-request.md')
0 files changed, 0 insertions, 0 deletions