Skip to content

Commit

Permalink
Fix XSS vulnerability (distribworks#922)
Browse files Browse the repository at this point in the history
* Tidy modules

* Fix "can't import package" error

* Fix XSS vulnerability
  • Loading branch information
yvanoers committed Mar 14, 2021
1 parent 2b2a2b2 commit b6b593a
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 221 deletions.
72 changes: 36 additions & 36 deletions dkron/assets_ui/assets_vfsdata.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dkron/assets_ui/generate.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package assets_ui

//go:generate vfsgendev -source="github.com/distribworks/dkron/dkron/assets_ui".Assets
//go:generate vfsgendev -source="github.com/distribworks/dkron/v3/dkron/assets_ui".Assets
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ require (
github.com/gin-contrib/expvar v0.0.1
github.com/gin-contrib/multitemplate v0.0.0-20200226145339-3e397ee01bc6
github.com/gin-gonic/gin v1.6.3
github.com/gogo/protobuf v1.3.1 // indirect
github.com/golang/protobuf v1.4.3
github.com/hashicorp/go-discover v0.0.0-20201029210230-738cb3105cd0
github.com/hashicorp/go-hclog v0.15.0
Expand Down

0 comments on commit b6b593a

Please sign in to comment.