Skip to content

Commit 0813199

Browse files
committed
Update vendor directory and go files
1 parent a925c23 commit 0813199

File tree

598 files changed

+1216
-515769
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

598 files changed

+1216
-515769
lines changed

go/ql/test/experimental/CWE-525/WebCacheDeceptionBad.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package bad
1+
package main
22

33
import (
44
"fmt"
@@ -74,7 +74,7 @@ func ShowAdminPageCache(w http.ResponseWriter, r *http.Request) {
7474

7575
}
7676

77-
func main() {
77+
func badRoutingNet() {
7878
fmt.Println("Vulnapp server listening : 1337")
7979

8080
http.Handle("/assets/", http.StripPrefix("/assets/", http.FileServer(http.Dir("assets/"))))

go/ql/test/experimental/CWE-525/WebCacheDeceptionFiber.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package bad
1+
package main
22

33
import (
44
"fmt"

go/ql/test/experimental/CWE-525/WebCacheDeceptionGoChi.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package bad
1+
package main
22

33
import (
44
"net/http"

go/ql/test/experimental/CWE-525/go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
module test
1+
module wcd
22

3-
go 1.21.1
3+
go 1.21
44

55
require (
6-
github.com/gofiber/fiber/v2 v2.51.0
7-
github.com/go-chi/chi/v5 v5.0.10
6+
github.com/go-chi/chi/v5 v5.0.10
7+
github.com/gofiber/fiber/v2 v2.51.0
88
)
99

1010
require (

go/ql/test/experimental/CWE-525/vendor/github.com/andybalholm/brotli/LICENSE

Lines changed: 0 additions & 19 deletions
This file was deleted.

go/ql/test/experimental/CWE-525/vendor/github.com/andybalholm/brotli/README.md

Lines changed: 0 additions & 7 deletions
This file was deleted.

go/ql/test/experimental/CWE-525/vendor/github.com/andybalholm/brotli/backward_references.go

Lines changed: 0 additions & 185 deletions
This file was deleted.

0 commit comments

Comments
 (0)