title | issue | author | author_email | author_github |
---|---|---|---|---|
Apply stricter IPv6 validation |
NEXT-19046 |
Jan Pietrzyk |
JanPietrzyk |
- Changed
isValid
of class\Shopware\Core\Content\Media\File\FileUrlValidator
to be more strict about ipv6 addresses, disallowing any ipv6 address without the brace notation ([IP])
IPv6 URLs as file uploads are only valid in [] notation. See examples below:
- Valid: https://[2000:db8::8a2e:370:7334]
- Valid: https://[2000:db8::8a2e:370:7334]:80
- Invalid: https://2000:db8::8a2e:370:7334
- Invalid: https://2000:db8::8a2e:370:7334:80