Skip to content

Commit 52d49e7

Browse files
committed
Edit docstring and remove instanceof PropRead constraint
1 parent 748b12c commit 52d49e7

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

javascript/frameworks/cap/lib/advanced_security/javascript/frameworks/cap/RemoteFlowSources.qll

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,11 @@ class HandlerParameterOfExposedService extends HandlerParameter {
4545
*
4646
* Note that `req.http.req` has type `require("@express").Request`, so their uses are
4747
* completely identical. Subsequently, the models for this access path follow Express'
48-
* API descriptions (as far as 3.x). Also see `Express::RequestInputAccess`,
48+
* API descriptions (as far back as 3.x). Also see `Express::RequestInputAccess`,
4949
* `Express::RequestHeaderAccess`, and `Express::RequestBodyAccess` of the standard
5050
* library.
5151
*/
52-
class UserProvidedPropertyReadOfHandlerParameterOfExposedService extends RemoteFlowSource instanceof PropRead
53-
{
52+
class UserProvidedPropertyReadOfHandlerParameterOfExposedService extends RemoteFlowSource {
5453
HandlerParameterOfExposedService handlerParameterOfExposedService;
5554

5655
UserProvidedPropertyReadOfHandlerParameterOfExposedService() {

0 commit comments

Comments
 (0)