Skip to content

Commit

Permalink
fix(reports): Properly escape report URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
elldritch committed Jul 10, 2018
1 parent 6b5f59d commit 902e56f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmd/fossa/cmdutil/reporturl.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ func FmtReportURL(locator fossa.Locator) string {
}
reportURL, err := url.Parse(
"/projects/" +
url.QueryEscape(locator.Fetcher+"+"+locator.Project) +
url.PathEscape(locator.Fetcher+"+"+locator.Project) +
"/refs/branch/" +
reportBranch +
url.PathEscape(reportBranch) +
"/" +
url.QueryEscape(locator.Revision))
url.PathEscape(locator.Revision))
return `
============================================================
Expand Down

0 comments on commit 902e56f

Please sign in to comment.