aboutsummaryrefslogtreecommitdiff
path: root/vendor/guzzlehttp/guzzle/src/Cookie
diff options
context:
space:
mode:
authorwn_ <invalid@email.com>2023-12-22 16:51:04 +0000
committerwn_ <invalid@email.com>2023-12-22 16:51:23 +0000
commite85d47dfd4eee646aa00f60b21bbb076d9f19b26 (patch)
tree8e9030a7c4ad9f8f4c0a256ae6c7c798e16d496e /vendor/guzzlehttp/guzzle/src/Cookie
parentd4ae6c67db8c966ab4998fda6df14072b103106b (diff)
Use Guzzle
Diffstat (limited to 'vendor/guzzlehttp/guzzle/src/Cookie')
-rw-r--r--vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php2
-rw-r--r--vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php4
2 files changed, 3 insertions, 3 deletions
diff --git a/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php b/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php
index fa2b10a8c..c29b4b7e9 100644
--- a/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php
+++ b/vendor/guzzlehttp/guzzle/src/Cookie/CookieJar.php
@@ -243,7 +243,7 @@ class CookieJar implements CookieJarInterface
/**
* Computes cookie path following RFC 6265 section 5.1.4
*
- * @see https://tools.ietf.org/html/rfc6265#section-5.1.4
+ * @see https://datatracker.ietf.org/doc/html/rfc6265#section-5.1.4
*/
private function getCookiePathFromRequest(RequestInterface $request): string
{
diff --git a/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php b/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php
index d74915bed..c9806da88 100644
--- a/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php
+++ b/vendor/guzzlehttp/guzzle/src/Cookie/SetCookie.php
@@ -420,7 +420,7 @@ class SetCookie
}
// Remove the leading '.' as per spec in RFC 6265.
- // https://tools.ietf.org/html/rfc6265#section-5.2.3
+ // https://datatracker.ietf.org/doc/html/rfc6265#section-5.2.3
$cookieDomain = \ltrim(\strtolower($cookieDomain), '.');
$domain = \strtolower($domain);
@@ -431,7 +431,7 @@ class SetCookie
}
// Matching the subdomain according to RFC 6265.
- // https://tools.ietf.org/html/rfc6265#section-5.1.3
+ // https://datatracker.ietf.org/doc/html/rfc6265#section-5.1.3
if (\filter_var($domain, \FILTER_VALIDATE_IP)) {
return false;
}