Merge branch 'ee_remove_auth_from_ci_url' into 'master'
removes API credentials from link to CiServer build_page In f1e38963 @dblessing introduced the support to specify API credentials for a CiService (in this case Jenkins) via its URL. This lead to the state that for any MR a link is rendered which references the build result. This link however contains the provided API credentials which I don not believe to be intended! Under this circumstances any user with access to the GitLab MR page can access the API token which may allow privileged access the CI server. My MR changes the behavior of the appropriate helper method to remove the credentials from the link. It also adds a spec for it, so we do not suffer a regression later on.
Showing
Please register or sign in to comment