Skip to content

Commit ac3cb7f

Browse files
committed
update camelcase
1 parent a17c704 commit ac3cb7f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

go/ql/src/experimental/CWE-525/WebCacheDeceptionLib.qll

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import StringOps
44
module WebCacheDeception {
55
abstract class Sink extends DataFlow::Node { }
66

7-
private class GoNetHTTP extends Sink {
8-
GoNetHTTP() {
7+
private class GoNetHttp extends Sink {
8+
GoNetHttp() {
99
exists(
1010
DataFlow::CallNode m, DataFlow::ReadNode rn, Http::HeaderWrite::Range hw, DeclaredFunction f
1111
|
@@ -48,11 +48,9 @@ module WebCacheDeception {
4848
}
4949
}
5050

51-
private class GoHTTPRouter extends Sink {
52-
GoHTTPRouter() {
53-
exists(string pkg |
54-
pkg = "github.com/julienschmidt/httprouter"
55-
|
51+
private class GoHttpRouter extends Sink {
52+
GoHttpRouter() {
53+
exists(string pkg | pkg = "github.com/julienschmidt/httprouter" |
5654
exists(DataFlow::CallNode m |
5755
m.getCall().getArgument(0).toString().matches("%/*%") and
5856
this = m.getArgument(0)

0 commit comments

Comments
 (0)