[tor-commits] [torbutton/master] Bug 3345: Make Google Captcha redirect work again.
mikeperry at torproject.org
mikeperry at torproject.org
Sat Jun 4 03:17:29 UTC 2011
commit e42dc36ceb914766c3337a655b4998f07407ddfb
Author: Mike Perry <mikeperry-git at fscked.org>
Date: Fri Jun 3 20:00:19 2011 -0700
Bug 3345: Make Google Captcha redirect work again.
---
src/chrome/content/torbutton.js | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/src/chrome/content/torbutton.js b/src/chrome/content/torbutton.js
index 401443a..720e281 100644
--- a/src/chrome/content/torbutton.js
+++ b/src/chrome/content/torbutton.js
@@ -3035,7 +3035,8 @@ function torbutton_check_google_captcha(subject, topic, data) {
redirURI.init(Ci.nsIStandardURL.URLTYPE_STANDARD, 80, redir,
subject.URI.originCharset, null);
redirURI = redirURI.QueryInterface(Components.interfaces.nsIURI);
- if (redirURI.host == "sorry.google.com") {
+ if (redirURI.host == "sorry.google.com"
+ || redirURI.path.match("^/sorry/")) {
var browser = null;
if(m_tb_ff3 && subject.notificationCallbacks) {
// Arg. google.timers.load.t is fucking us up!
More information about the tor-commits
mailing list