Skip to content

Commit 1cfc24f

Browse files
Replaced bad all insecure/invalid/redirecting links
1 parent e79c79e commit 1cfc24f

File tree

10 files changed

+29
-31
lines changed

10 files changed

+29
-31
lines changed

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
blank_issues_enabled: false
22
contact_links:
33
- name: 📚Documentation
4-
url: http://docs.guzzlephp.org
4+
url: https://docs.guzzlephp.org/en/stable/
55
about: Check the documentation before opening an issue.
66

77
- name: ❓Support

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -643,7 +643,8 @@ object).
643643
* Note: This has been changed in 5.0.3 to now encode query string values by
644644
default unless the `rawString` argument is provided when setting the query
645645
string on a URL: Now allowing many more characters to be present in the
646-
query string without being percent encoded. See https://tools.ietf.org/html/rfc3986#appendix-A
646+
query string without being percent encoded. See
647+
https://datatracker.ietf.org/doc/html/rfc3986#appendix-A
647648

648649

649650
## 5.0.1 - 2014-10-16
@@ -1182,7 +1183,7 @@ interfaces.
11821183

11831184
## 3.4.0 - 2013-04-11
11841185

1185-
* Bug fix: URLs are now resolved correctly based on https://tools.ietf.org/html/rfc3986#section-5.2. #289
1186+
* Bug fix: URLs are now resolved correctly based on https://datatracker.ietf.org/doc/html/rfc3986#section-5.2. #289
11861187
* Bug fix: Absolute URLs with a path in a service description will now properly override the base URL. #289
11871188
* Bug fix: Parsing a query string with a single PHP array value will now result in an array. #263
11881189
* Bug fix: Better normalization of the User-Agent header to prevent duplicate headers. #264.

UPGRADING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -189,11 +189,11 @@ $client = new GuzzleHttp\Client(['handler' => $handler]);
189189

190190
## POST Requests
191191

192-
This version added the [`form_params`](http://guzzle.readthedocs.org/en/latest/request-options.html#form_params)
192+
This version added the [`form_params`](https://docs.guzzlephp.org/en/latest/request-options.html#form_params)
193193
and `multipart` request options. `form_params` is an associative array of
194194
strings or array of strings and is used to serialize an
195195
`application/x-www-form-urlencoded` POST request. The
196-
[`multipart`](http://guzzle.readthedocs.org/en/latest/request-options.html#multipart)
196+
[`multipart`](https://docs.guzzlephp.org/en/latest/request-options.html#multipart)
197197
option is now used to send a multipart/form-data POST request.
198198

199199
`GuzzleHttp\Post\PostFile` has been removed. Use the `multipart` option to add
@@ -209,7 +209,7 @@ The `base_url` option has been renamed to `base_uri`.
209209

210210
## Rewritten Adapter Layer
211211

212-
Guzzle now uses [RingPHP](http://ringphp.readthedocs.org/en/latest) to send
212+
Guzzle now uses [RingPHP](https://ringphp.readthedocs.org/en/latest) to send
213213
HTTP requests. The `adapter` option in a `GuzzleHttp\Client` constructor
214214
is still supported, but it has now been renamed to `handler`. Instead of
215215
passing a `GuzzleHttp\Adapter\AdapterInterface`, you must now pass a PHP
@@ -575,7 +575,7 @@ You can intercept a request and inject a response using the `intercept()` event
575575
of a `GuzzleHttp\Event\BeforeEvent`, `GuzzleHttp\Event\CompleteEvent`, and
576576
`GuzzleHttp\Event\ErrorEvent` event.
577577

578-
See: http://docs.guzzlephp.org/en/latest/events.html
578+
See: https://docs.guzzlephp.org/en/latest/events.html
579579

580580
## Inflection
581581

@@ -668,9 +668,9 @@ in separate repositories:
668668

669669
The service description layer of Guzzle has moved into two separate packages:
670670

671-
- http://github.com/guzzle/command Provides a high level abstraction over web
671+
- https://github.com/guzzle/command Provides a high level abstraction over web
672672
services by representing web service operations using commands.
673-
- http://github.com/guzzle/guzzle-services Provides an implementation of
673+
- https://github.com/guzzle/guzzle-services Provides an implementation of
674674
guzzle/command that provides request serialization and response parsing using
675675
Guzzle service descriptions.
676676

@@ -870,7 +870,7 @@ HeaderInterface (e.g. toArray(), getAll(), etc.).
870870
3.3 to 3.4
871871
----------
872872

873-
Base URLs of a client now follow the rules of https://tools.ietf.org/html/rfc3986#section-5.2.2 when merging URLs.
873+
Base URLs of a client now follow the rules of https://datatracker.ietf.org/doc/html/rfc3986#section-5.2.2 when merging URLs.
874874

875875
3.2 to 3.3
876876
----------

docs/psr7.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,9 @@ When creating a request, you can provide the URI as a string or an instance of
226226
Scheme
227227
------
228228

229-
The `scheme <https://tools.ietf.org/html/rfc3986#section-3.1>`_ of a request
230-
specifies the protocol to use when sending the request. When using Guzzle, the
231-
scheme can be set to "http" or "https".
229+
The `scheme <https://datatracker.ietf.org/doc/html/rfc3986#section-3.1>`_ of a
230+
request specifies the protocol to use when sending the request. When using
231+
Guzzle, the scheme can be set to "http" or "https".
232232

233233
.. code-block:: php
234234
@@ -275,7 +275,7 @@ The path of a request is accessible via the URI object.
275275
The contents of the path will be automatically filtered to ensure that only
276276
allowed characters are present in the path. Any characters that are not allowed
277277
in the path will be percent-encoded according to
278-
`RFC 3986 section 3.3 <https://tools.ietf.org/html/rfc3986#section-3.3>`_
278+
`RFC 3986 section 3.3 <https://datatracker.ietf.org/doc/html/rfc3986#section-3.3>`_
279279

280280

281281
Query string
@@ -292,7 +292,7 @@ URI object owned by the request.
292292
The contents of the query string will be automatically filtered to ensure that
293293
only allowed characters are present in the query string. Any characters that
294294
are not allowed in the query string will be percent-encoded according to
295-
`RFC 3986 section 3.4 <https://tools.ietf.org/html/rfc3986#section-3.4>`_
295+
`RFC 3986 section 3.4 <https://datatracker.ietf.org/doc/html/rfc3986#section-3.4>`_
296296

297297

298298
Responses

docs/quickstart.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ The client constructor accepts an associative array of options:
3737
URIs. Can be a string or instance of UriInterface. When a relative URI
3838
is provided to a client, the client will combine the base URI with the
3939
relative URI using the rules described in
40-
`RFC 3986, section 5.2 <https://tools.ietf.org/html/rfc3986#section-5.2>`_.
40+
`RFC 3986, section 5.2 <https://datatracker.ietf.org/doc/html/rfc3986#section-5.2>`_.
4141

4242
.. code-block:: php
4343

src/Cookie/CookieJar.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ public function extractCookies(RequestInterface $request, ResponseInterface $res
243243
/**
244244
* Computes cookie path following RFC 6265 section 5.1.4
245245
*
246-
* @see https://tools.ietf.org/html/rfc6265#section-5.1.4
246+
* @see https://datatracker.ietf.org/doc/html/rfc6265#section-5.1.4
247247
*/
248248
private function getCookiePathFromRequest(RequestInterface $request): string
249249
{

src/Cookie/SetCookie.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ public function matchesDomain(string $domain): bool
420420
}
421421

422422
// Remove the leading '.' as per spec in RFC 6265.
423-
// https://tools.ietf.org/html/rfc6265#section-5.2.3
423+
// https://datatracker.ietf.org/doc/html/rfc6265#section-5.2.3
424424
$cookieDomain = \ltrim(\strtolower($cookieDomain), '.');
425425

426426
$domain = \strtolower($domain);
@@ -431,7 +431,7 @@ public function matchesDomain(string $domain): bool
431431
}
432432

433433
// Matching the subdomain according to RFC 6265.
434-
// https://tools.ietf.org/html/rfc6265#section-5.1.3
434+
// https://datatracker.ietf.org/doc/html/rfc6265#section-5.1.3
435435
if (\filter_var($domain, \FILTER_VALIDATE_IP)) {
436436
return false;
437437
}

src/Handler/CurlFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ private function applyMethod(EasyHandle $easy, array &$conf): void
256256

257257
$method = $easy->request->getMethod();
258258
if ($method === 'PUT' || $method === 'POST') {
259-
// See https://tools.ietf.org/html/rfc7230#section-3.3.2
259+
// See https://datatracker.ietf.org/doc/html/rfc7230#section-3.3.2
260260
if (!$easy->request->hasHeader('Content-Length')) {
261261
$conf[\CURLOPT_HTTPHEADER][] = 'Content-Length: 0';
262262
}

src/RequestOptions.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@
55
/**
66
* This class contains a list of built-in Guzzle request options.
77
*
8-
* More documentation for each option can be found at http://guzzlephp.org/.
9-
*
10-
* @see http://docs.guzzlephp.org/en/v6/request-options.html
8+
* @see https://docs.guzzlephp.org/en/latest/request-options.html
119
*/
1210
final class RequestOptions
1311
{

src/Utils.php

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -176,14 +176,13 @@ public static function defaultCaBundle(): string
176176
PHP versions earlier than 5.6 are not properly configured to use the system's
177177
CA bundle by default. In order to verify peer certificates, you will need to
178178
supply the path on disk to a certificate bundle to the 'verify' request
179-
option: http://docs.guzzlephp.org/en/latest/clients.html#verify. If you do not
180-
need a specific certificate bundle, then Mozilla provides a commonly used CA
181-
bundle which can be downloaded here (provided by the maintainer of cURL):
182-
https://curl.haxx.se/ca/cacert.pem. Once
183-
you have a CA bundle available on disk, you can set the 'openssl.cafile' PHP
184-
ini setting to point to the path to the file, allowing you to omit the 'verify'
185-
request option. See https://curl.haxx.se/docs/sslcerts.html for more
186-
information.
179+
option: https://docs.guzzlephp.org/en/latest/request-options.html#verify. If
180+
you do not need a specific certificate bundle, then Mozilla provides a commonly
181+
used CA bundle which can be downloaded here (provided by the maintainer of
182+
cURL): https://curl.haxx.se/ca/cacert.pem. Once you have a CA bundle available
183+
on disk, you can set the 'openssl.cafile' PHP ini setting to point to the path
184+
to the file, allowing you to omit the 'verify' request option. See
185+
https://curl.haxx.se/docs/sslcerts.html for more information.
187186
EOT
188187
);
189188
}

0 commit comments

Comments
 (0)