[tor-commits] [meek/master] Use permalinks for Tor Trac tickets.

dcf at torproject.org dcf at torproject.org
Fri Feb 19 17:24:33 UTC 2016


commit aa17eaa0d3da4f84d0714f8c7f1b6295e2929001
Author: David Fifield <david at bamsoftware.com>
Date:   Fri Feb 19 09:19:05 2016 -0800

    Use permalinks for Tor Trac tickets.
---
 firefox/components/main.js                         | 6 +++---
 meek-client-torbrowser/meek-client-torbrowser.go   | 9 ++++-----
 meek-client/meek-client.go                         | 2 +-
 terminateprocess-buffer/terminateprocess-buffer.go | 2 +-
 4 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/firefox/components/main.js b/firefox/components/main.js
index 540e193..e892c4b 100644
--- a/firefox/components/main.js
+++ b/firefox/components/main.js
@@ -71,7 +71,7 @@ MeekHTTPHelper.prototype = {
             // browser updates.
             // We do this before we change the network.proxy.socks_remote_dns
             // value since we do not want that change to be permanent. See
-            // https://trac.torproject.org/projects/tor/ticket/16269.
+            // https://bugs.torproject.org/16269.
             let prefSvc = Components.classes["@mozilla.org/preferences-service;1"]
                 .getService(Components.interfaces.nsIPrefService);
             prefSvc.savePrefFile(null);
@@ -79,7 +79,7 @@ MeekHTTPHelper.prototype = {
             let prefs = Components.classes["@mozilla.org/preferences-service;1"]
                 .getService(Components.interfaces.nsIPrefBranch);
             // Allow unproxied DNS, working around a Tor Browser patch:
-            // https://trac.torproject.org/projects/tor/ticket/11183#comment:6.
+            // https://bugs.torproject.org/11183#comment:6.
             // We set TRANSPARENT_PROXY_RESOLVES_HOST whenever we are asked to
             // use a proxy, so name resolution uses the proxy despite this pref.
             prefs.setBoolPref("network.proxy.socks_remote_dns", false);
@@ -197,7 +197,7 @@ MeekHTTPHelper.buildProxyInfo = function(spec) {
         // 3.6.2, leak the covert Host header in HTTP proxy CONNECT requests.
         // Using an HTTP proxy cannot provide effective obfuscation without such
         // a patched Firefox.
-        // https://trac.torproject.org/projects/tor/ticket/12146
+        // https://bugs.torproject.org/12146
         // https://gitweb.torproject.org/tor-browser.git/commit/?id=e08b91c78d919f66dd5161561ca1ad7bcec9a563
         // https://bugzilla.mozilla.org/show_bug.cgi?id=1017769
         // https://hg.mozilla.org/mozilla-central/rev/a1f6458800d4
diff --git a/meek-client-torbrowser/meek-client-torbrowser.go b/meek-client-torbrowser/meek-client-torbrowser.go
index 605bc85..bb27c58 100644
--- a/meek-client-torbrowser/meek-client-torbrowser.go
+++ b/meek-client-torbrowser/meek-client-torbrowser.go
@@ -153,9 +153,9 @@ func main() {
 	// XRE_PROFILE_PATH, in particular, overrides the -profile option that
 	// runFirefox sets, causing Firefox to run with profile.default instead
 	// of profile.meek-http-helper, which conflicts with the profile.default
-	// that is already running. See
-	// https://trac.torproject.org/projects/tor/ticket/13247, particularly
-	// #comment:17 and #comment:18. The environment variable names come from
+	// that is already running. See https://bugs.torproject.org/13247,
+	// particularly #comment:17 and #comment:18. The environment variable
+	// names come from
 	// https://hg.mozilla.org/mozilla-central/file/cfde3603b020/toolkit/xre/nsAppRunner.cpp#l3941
 	var firefoxRestartEnvVars = []string{
 		"XRE_PROFILE_PATH",
@@ -198,8 +198,7 @@ func main() {
 
 	if os.Getenv("TOR_PT_EXIT_ON_STDIN_CLOSE") == "1" {
 		// This environment variable means we should treat EOF on stdin
-		// just like SIGTERM.
-		// https://trac.torproject.org/projects/tor/ticket/15435
+		// just like SIGTERM: https://bugs.torproject.org/15435.
 		go func() {
 			io.Copy(ioutil.Discard, os.Stdin)
 			log.Printf("synthesizing SIGTERM because of stdin close")
diff --git a/meek-client/meek-client.go b/meek-client/meek-client.go
index c42c3d8..9de4056 100644
--- a/meek-client/meek-client.go
+++ b/meek-client/meek-client.go
@@ -334,7 +334,7 @@ func checkProxyURL(u *url.URL) error {
 		// covert Host header in HTTP proxy CONNECT requests. Using an
 		// HTTP proxy cannot provide effective obfuscation without such
 		// a patched Firefox.
-		// https://trac.torproject.org/projects/tor/ticket/12146
+		// https://bugs.torproject.org/12146
 		// https://gitweb.torproject.org/tor-browser.git/commit/?id=e08b91c78d919f66dd5161561ca1ad7bcec9a563
 		// https://bugzilla.mozilla.org/show_bug.cgi?id=1017769
 		// https://hg.mozilla.org/mozilla-central/rev/a1f6458800d4
diff --git a/terminateprocess-buffer/terminateprocess-buffer.go b/terminateprocess-buffer/terminateprocess-buffer.go
index 6f77e98..85df446 100644
--- a/terminateprocess-buffer/terminateprocess-buffer.go
+++ b/terminateprocess-buffer/terminateprocess-buffer.go
@@ -12,7 +12,7 @@
 // notice that its stdin has closed, and exit gracefully.
 //
 // TOR_PT_EXIT_ON_STDIN_CLOSE:
-// https://trac.torproject.org/projects/tor/ticket/15435
+// https://bugs.torproject.org/15435
 package main
 
 import (





More information about the tor-commits mailing list