Long URLs in the evidence section of vulnerability popup does not wrap
Summary
Long URLs under Evidence > URLs in vulnerability pop up do not wrap correctly and spill out of the popup in GitLab.com. The browser I am using is Google Chrome Version 93.0.4577.82 (Official Build) (x86_64)
Steps to reproduce
Navigate to https://gitlab.com/gitlab-org/gitlab/-/pipelines/371639709/security?reportType=DAST and click on vulnerability Cookie Without SameSite Attribute
Example Project
https://gitlab.com/gitlab-org/gitlab/-/pipelines/371639709/security?reportType=DAST
What is the current bug behavior?
Long URLs are not wrapped within the popup in some instance.
What is the expected correct behavior?
Long URLs are properly wrapped within the popup.
Relevant logs and/or screenshots
Results of GitLab environment info
Happens on GitLab.com
Implementation plan
-
frontend The component responsible for displaying this bit is https://gitlab.com/gitlab-org/gitlab/-/blob/master/ee/app/assets/javascripts/vulnerabilities/components/generic_report/report_item.vue. We can use the GlTruncate
component here.
Edited by Savas Vedova