Commit df86b73
Fix double slash in GitLab and Azure DevOps web URLs
When users configure a GitLab or Azure DevOps connection with a trailing
slash in the URL (e.g., https://gitlab.example.com/), the constructed
project URLs would have a double slash (https://gitlab.example.com//path)
causing 404 errors when opening links.
This fix strips trailing slashes from the hostUrl before constructing URLs.
Fixes SOU-533
Co-authored-by: Michael Sukkarieh <msukkari@users.noreply.github.com>1 parent b274daf commit df86b73
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
724 | 724 | | |
725 | 725 | | |
726 | 726 | | |
727 | | - | |
| 727 | + | |
728 | 728 | | |
729 | 729 | | |
730 | 730 | | |
| |||
0 commit comments