8000 [HtmlSanitizer] reject URLs with URL-encoded non UTF-8 characters in the host part · symfony/symfony@1f3e0d8 · GitHub
[go: up one dir, main page]

Skip to content

[HtmlSanitizer] reject URLs with URL-encoded non UTF-8 characters in the host part #37170

[HtmlSanitizer] reject URLs with URL-encoded non UTF-8 characters in the host part

[HtmlSanitizer] reject URLs with URL-encoded non UTF-8 characters in the host part #37170

Triggered via pull request March 31, 2025 07:29
Status Failure
Total duration 3m 1s
Artifacts

psalm.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 1 warning
InvalidNullableReturnType: src/Symfony/Component/HtmlSanitizer/TextSanitizer/UrlSanitizer.php#L150
src/Symfony/Component/HtmlSanitizer/TextSanitizer/UrlSanitizer.php:150:71: InvalidNullableReturnType: The declared return type 'string' for Symfony\Component\HtmlSanitizer\TextSanitizer\UrlSanitizer::decodeUnreservedCharacters is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Symfony/Component/HtmlSanitizer/TextSanitizer/UrlSanitizer.php#L152
src/Symfony/Component/HtmlSanitizer/TextSanitizer/UrlSanitizer.php:152:16: NullableReturnStatement: The declared return type 'string' for Symfony\Component\HtmlSanitizer\TextSanitizer\UrlSanitizer::decodeUnreservedCharacters is not nullable, but the function returns 'null|string' (see https://psalm.dev/139)
InvalidNullableReturnType: src/Symfony/Component/HtmlSanitizer/TextSanitizer/UrlSanitizer.php#L150
src/Symfony/Component/HtmlSanitizer/TextSanitizer/UrlSanitizer.php:150:71: InvalidNullableReturnType: The declared return type 'string' for Symfony\Component\HtmlSanitizer\TextSanitizer\UrlSanitizer::decodeUnreservedCharacters is not nullable, but 'null|string' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Symfony/Component/HtmlSanitizer/TextSanitizer/UrlSanitizer.php#L152
src/Symfony/Component/HtmlSanitizer/TextSanitizer/UrlSanitizer.php:152:16: NullableReturnStatement: The declared return type 'string' for Symfony\Component\HtmlSanitizer\TextSanitizer\UrlSanitizer::decodeUnreservedCharacters is not nullable, but the function returns 'null|string' (see https://psalm.dev/139)
Psalm
Process completed with exit code 2.
Psalm
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101
0