Skip to content
This repository has been archived by the owner on Jan 10, 2021. It is now read-only.

Commit

Permalink
Introducing backwards compatibility for the request filter bypass.
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Glasl committed Feb 3, 2016
1 parent aa1998d commit e511df9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/requestfilters/MisdirectionRequestFilter.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ public function postRequest(SS_HTTPRequest $request, SS_HTTPResponse $response,

// Bypass the request filter when using the misdirected GET parameter.

if($request->getVar('misdirected')) {
if($request->getVar('misdirected') || $request->getVar('direct')) {

// Continue processing the response.

Expand Down

0 comments on commit e511df9

Please sign in to comment.