Commit 24808549 authored by Mike Perry's avatar Mike Perry
Browse files

Alter redir fix slighlty.

This seems to be a little more sensible.
parent 80517829
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -2803,6 +2803,7 @@ function torbutton_check_google_captcha(subject, topic, data) {
      // Split url into [?&]q=...[&$]
      if (browser)
        browser.loadURI(newUrl+querymatch[1], null, subject.URI.originCharset);
      else
        httpChannel.setResponseHeader("Location", newUrl+querymatch[1], false);
      torbutton_log(4, "Got Google Captcha. Redirecting");
    }