mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Restore OpenRedirect's exclusion of POST-only request components
This commit is contained in:
@@ -257,7 +257,7 @@ module NetHttp {
|
||||
or
|
||||
exists(Method m, string methName |
|
||||
m.hasQualifiedName("net/http", "Request", methName) and
|
||||
this = m.getACall()
|
||||
this = m.getACall().getResult(0)
|
||||
|
|
||||
methName = ["Cookie", "Cookies", "MultipartReader", "PostFormValue", "Referer", "UserAgent"]
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user