diff --git a/docs/env-and-config.md b/docs/env-and-config.md index 2738830..3efcbbd 100644 --- a/docs/env-and-config.md +++ b/docs/env-and-config.md @@ -141,13 +141,13 @@ Every outbound research request carries a `User-Agent` header, set on the resear The default header (no override) is: ``` -User-Agent: Vice/ (+https://lab.freya.cintile.io/atelier/vice) +User-Agent: Vice/ (+https://github.com/jrconradt/Vice) ``` When `VICE_CONTACT_EMAIL` is set, the default becomes: ``` -User-Agent: Vice/ (+https://lab.freya.cintile.io/atelier/vice; mailto:) +User-Agent: Vice/ (+https://github.com/jrconradt/Vice; mailto:) ``` Setting `VICE_CONTACT_EMAIL` discloses that address to every research host in the `User-Agent` header of every request. The address is personal data sent to third parties; leave the variable unset if you do not want it transmitted. The email is never placed in query strings or request bodies. diff --git a/src/Vice.Research/ResearchHttp.cs b/src/Vice.Research/ResearchHttp.cs index 1b72051..53da584 100644 --- a/src/Vice.Research/ResearchHttp.cs +++ b/src/Vice.Research/ResearchHttp.cs @@ -11,7 +11,7 @@ internal static class ResearchHttp public const string ContactEmailEnvVar = "VICE_CONTACT_EMAIL"; - private const string ProjectUrl = "https://lab.freya.cintile.io/atelier/vice"; + private const string ProjectUrl = "https://github.com/jrconradt/Vice"; private const long MaxResponseContentBufferBytes = 8L * 1024 * 1024; diff --git a/tests/Vice.Net.Tests/ResearchAndInsecurePolicyTests.cs b/tests/Vice.Net.Tests/ResearchAndInsecurePolicyTests.cs index 8b35331..9fa7634 100644 --- a/tests/Vice.Net.Tests/ResearchAndInsecurePolicyTests.cs +++ b/tests/Vice.Net.Tests/ResearchAndInsecurePolicyTests.cs @@ -40,7 +40,7 @@ public void Default_user_agent_carries_project_url_and_no_placeholder_repo() var ua = ResearchHttp.ResolveUserAgent(); Assert.StartsWith("Vice/", ua); - Assert.Contains("lab.freya.cintile.io/atelier/vice", ua); + Assert.Contains("github.com/jrconradt/Vice", ua); Assert.DoesNotContain("github.com/vice-cli", ua); } finally