Skip to content

Commit

Permalink
fix: vulnerabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
Caixetadev committed Jan 31, 2024
1 parent af26938 commit 6a13a41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/handlers/docs/handleDocUpload.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func HandleDocUpload(c *gin.Context) {
}

doc := models.Doc{
FileName: filename,
FileName: filteredFilename,
Checksum: fileHashBuffer[:],
}

Expand Down
2 changes: 1 addition & 1 deletion src/handlers/image/handleImageUpload.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ func HandleImageUpload(c *gin.Context) {
}

image := models.Image{
FileName: filename,
FileName: filteredFilename,
Checksum: fileHashBuffer[:],
}

Expand Down

0 comments on commit 6a13a41

Please sign in to comment.