[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [torbutton/master] Bug 3345: Make Google Captcha redirect work again.
commit e42dc36ceb914766c3337a655b4998f07407ddfb
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
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!
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits