ActionView::Template::Error: bad URI(is not URI?): "https://gitlab.com/group/project/badges/%{default_branch}/pipeline.svg"
https://sentry.gitlab.net/gitlab/gitlabcom/issues/1371557/?referrer=gitlab_plugin
URI::InvalidURIError: bad URI(is not URI?): "https://gitlab.com/group/project/badges/%{default_branch}/pipeline.svg"
uri/rfc3986_parser.rb:67:in `split'
raise InvalidURIError, "bad URI(is not URI?): #{uri.inspect}"
uri/rfc3986_parser.rb:73:in `parse'
registry, path, opaque, query, fragment = self.split(uri)
uri/common.rb:234:in `parse'
RFC3986_PARSER.parse(uri)
gitlab/asset_proxy.rb:19:in `asset_host_whitelisted?'
parsed_url = URI.parse(url)
gitlab/asset_proxy.rb:11:in `proxy_url'
return url if asset_host_whitelisted?(url)
...
(201 additional frame(s) were not displayed)
ActionView::Template::Error: bad URI(is not URI?): "https://gitlab.com/group/project/badges/%{default_branch}/pipeline.svg"
ActionView::Template::Error: bad URI(is not URI?): "https://gitlab.com/group/project/badges/%{default_branch}/pipeline.svg"
Workarounds
Visit pages directly. Example for issues, go to: https://gitlab.com/group/project/issues
For a more "permanent fix" please see #208968 (comment 299052486)
Edited by Cynthia "Arty" Ng