Skip to content

Commit a8fd6f0

Browse files
authored
Merge pull request #893 from wolf99/update-rfc-links
Updates RFC links to authoritative URL
2 parents 7c3a844 + 351effa commit a8fd6f0

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

docs/azrepos-users-and-tokens.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,4 +222,4 @@ fabrikam:
222222
[credential-azreposCredentialType]: configuration.md#credentialazreposcredentialtype
223223
[gcm-azrepos-credential-type]: environment.md#GCM_AZREPOS_CREDENTIALTYPE
224224
[azure-devops-api]: https://docs.microsoft.com/en-gb/rest/api/azure/devops/tokens/pats
225-
[rfc3986-s321]: https://tools.ietf.org/html/rfc3986#section-3.2.1
225+
[rfc3986-s321]: https://www.rfc-editor.org/rfc/rfc3986#section-3.2.1

docs/hostprovider.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -347,5 +347,5 @@ take, but implementors SHOULD attempt to follow existing practices and styles.
347347
[github-dotnet-cli]: https://github.com/dotnet/command-line-api
348348
[hostprovider-base-class]: #26-hostprovider-base-class
349349
[references]: #references
350-
[rfc-2119]: https://tools.ietf.org/html/rfc2119
351-
[rfc-6749]: https://tools.ietf.org/html/rfc6749
350+
[rfc-2119]: https://www.rfc-editor.org/rfc/rfc2119
351+
[rfc-6749]: https://www.rfc-editor.org/rfc/rfc6749

docs/netconfig.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -195,9 +195,9 @@ proxy root certificates.
195195
[configuration]: configuration.md
196196
[git-http-proxy]: https://git-scm.com/docs/git-config#Documentation/git-config.txt-httpproxy
197197
[git-remote-name-proxy]: https://git-scm.com/docs/git-config#Documentation/git-config.txt-remoteltnamegtproxy
198-
[rfc-3986-321]: https://tools.ietf.org/html/rfc3986#section-3.2.1
199-
[rfc-3986-22]: https://tools.ietf.org/html/rfc3986#section-2.2
200-
[rfc-3986-21]: https://tools.ietf.org/html/rfc3986#section-2.1
198+
[rfc-3986-321]: https://www.rfc-editor.org/rfc/rfc3986#section-3.2.1
199+
[rfc-3986-22]: https://www.rfc-editor.org/rfc/rfc3986#section-2.2
200+
[rfc-3986-21]: https://www.rfc-editor.org/rfc/rfc3986#section-2.1
201201
[curl-proxy-env-vars]: https://everything.curl.dev/usingcurl/proxies#proxy-environment-variables
202202
[other-proxy-options]: #other-proxy-options
203203
[curlopt-noproxy]: https://curl.se/libcurl/c/CURLOPT_NOPROXY.html

src/shared/Core/UriExtensions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static bool TryGetUserInfo(this Uri uri, out string userName, out string
4848
return false;
4949
}
5050

51-
/* According to RFC 3986 section 3.2.1 (https://tools.ietf.org/html/rfc3986#section-3.2.1)
51+
/* According to RFC 3986 section 3.2.1 (https://www.rfc-editor.org/rfc/rfc3986#section-3.2.1)
5252
* the user information component of a URI should look like:
5353
*
5454
* url-encode(username):url-encode(password)

src/shared/GitHub.Tests/GitHubRestApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@ public async Task GitHubRestApi_AcquireTokenAsync_UnknownResponse_ReturnsFailure
350350

351351
var expectedRequestUri = new Uri("https://api.github.com/authorizations");
352352

353-
// https://tools.ietf.org/html/rfc2324#section-2.3.2
353+
// https://www.rfc-editor.org/rfc/rfc2324#section-2.3.2
354354
const HttpStatusCode httpIAmATeaPot = (HttpStatusCode) 418;
355355
var httpResponse = new HttpResponseMessage(httpIAmATeaPot)
356356
{

0 commit comments

Comments
 (0)