Skip to content

Commit

Permalink
Add bambda to filter out proxy requests with the OPTIONS method.
Browse files Browse the repository at this point in the history
  • Loading branch information
PortSwiggerWiener committed Nov 29, 2023
1 parent 9341e9f commit c742f14
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 c742f14

Please sign in to comment.