Skip to content

Commit

Permalink
Merge pull request #15 from PortSwigger/options
Browse files Browse the repository at this point in the history
Add bambda to filter out proxy requests with the OPTIONS method.
  • Loading branch information
ibz-portswigger authored Nov 29, 2023
2 parents 9341e9f + c742f14 commit f71e82f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Proxy/HTTP/FilterOutOptionsRequests.bambda
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/**
* Filter out OPTIONS requests.
*
* @author Trikster
**/

return !requestResponse.request().method().equals("OPTIONS");

0 comments on commit f71e82f

Please sign in to comment.