Skip to content

Commit 8e546e8

Browse files
authored
Add req.url.origin to RequestInputAccess
1 parent 8b33e6d commit 8e546e8

File tree

1 file changed

+1
-1
lines changed
  • javascript/ql/lib/semmle/javascript/frameworks

1 file changed

+1
-1
lines changed

javascript/ql/lib/semmle/javascript/frameworks/Hapi.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ module Hapi {
142142
// `request.url.path`
143143
kind = "url" and
144144
url.accesses(request, "url") and
145-
this.(DataFlow::PropRead).accesses(url, "path")
145+
this.(DataFlow::PropRead).accesses(url, ["path", "origin"])
146146
)
147147
or
148148
exists(DataFlow::PropRead state |

0 commit comments

Comments
 (0)