wn_
1c9fddd757
Add a PHPStan ignore for a non-issue in 'UrlHelper::fetch()'.
2025-04-27 15:05:28 +00:00
wn_
667528d5b9
Use PHP 8 'str_' functions.
...
A few more characters in some places, but helps with readability.
2024-11-24 13:59:29 +00:00
wn_
abcd0e8ba2
Use native union types in most places.
2024-11-23 17:43:24 +00:00
Andrew Dolgov
884fd92f13
drop opentelemetry
2024-10-01 16:00:34 +03:00
wn_
9dd4102c7f
Replace basic 'isset()' cases with the null coalescing operator.
2024-08-04 15:42:11 +00:00
wn_
8ef2803b27
Only include the exception message in 'UrlHelper::$fetch_last_error'.
...
Before this the stack trace was included, which is a bit much.
2024-01-09 12:38:32 +00:00
wn_
91a91dac15
Perform validation of redirect URLs during the redirect process.
...
Previously, validation was only done after all redirects and the final request had completed. This approach ensures all redirects are to URLs that pass extended validation.
2023-12-29 00:41:52 +00:00
wn_
0ea9db3170
Fix specifying auth type in UrlHelper::fetch(), add a test for 403 auth retry.
2023-12-24 11:21:43 +00:00
wn_
3c171cc92c
Add some tests for UrlHelper::fetch()
2023-12-23 19:52:56 +00:00
wn_
9132360d46
Rework content encoding error retrying in UrlHelper::fetch()
2023-12-23 16:34:39 +00:00
wn_
d82da74363
Clean up UrlHelper::resolve_redirects().
...
Also: this doesn't appear to be used... but maybe in some plugin?
2023-12-23 15:56:21 +00:00
wn_
ff59fbd460
Add back 'any auth' retry in UrlHelper::fetch()
2023-12-23 15:34:21 +00:00
wn_
e85d47dfd4
Use Guzzle
2023-12-22 16:51:23 +00:00
Andrew Dolgov
865ecc8796
move to psr-4 autoloader
2023-10-25 12:55:09 +03:00