[Pkg-mozext-commits] [requestpolicy] 83/100: fix a bug
David Prévot
taffit at moszumanska.debian.org
Fri Dec 12 22:57:02 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository requestpolicy.
commit 159765f5c0e440771f03f473f31edc488ddb6800
Author: Martin Kimmerle <dev at 256k.de>
Date: Fri Nov 7 20:01:53 2014 +0100
fix a bug
---
src/modules/RequestProcessor.jsm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/modules/RequestProcessor.jsm b/src/modules/RequestProcessor.jsm
index 91f4485..b15f1a3 100644
--- a/src/modules/RequestProcessor.jsm
+++ b/src/modules/RequestProcessor.jsm
@@ -759,14 +759,15 @@ RequestProcessor.prototype.processRedirect = function(request, httpChannel) {
// else.
// We set the "isInsert" parameter so we don't clobber the existing
// info about allowed and deleted requests.
- this._recordAllowedRequest(sourcePage, initialOrigin, true, result);
+ this._recordAllowedRequest(sourcePage, initialOrigin, true,
+ request.requestResult);
}
// if (this._submittedFormsReverse[initialOrigin]) {
// // TODO: implement for form submissions whose redirects are blocked
// }
- this._recordRejectedRequest(originURI, destURI, result);
+ this._recordRejectedRequest(request);
}
rp.mod.Logger.warning(rp.mod.Logger.TYPE_HEADER_REDIRECT,
"** BLOCKED ** '" + headerType + "' header to <" + destURI + ">" +
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git
More information about the Pkg-mozext-commits
mailing list