Skip to content

Commit ce01047

Browse files
committed
Fix minor issues
1 parent 52a0fda commit ce01047

File tree

4 files changed

+124
-124
lines changed

4 files changed

+124
-124
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: minorAnalysis
33
---
4-
* Added [Request.Cookie](https://pkg.go.dev/net/http#Request.Cookie) to reflected XSS sanitzers.
4+
* Added [Request.Cookie](https://pkg.go.dev/net/http#Request.Cookie) to reflected XSS sanitizers.

go/ql/lib/semmle/go/security/ReflectedXssCustomizations.qll

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ module ReflectedXss {
2929
CookieSanitizer() {
3030
exists(Method m, DataFlow::CallNode call | call = m.getACall() |
3131
m.hasQualifiedName("net/http", "Request", "Cookie") and
32-
//call.getResult() = this
3332
this = call.getResult(0)
3433
)
3534
}

0 commit comments

Comments
 (0)