Fix incorrect S3 URL parsing when key is not specified on path style. #78185 (Arthur Passos).
Fix incorrect parsing of S3 URLs when using path-style access without specifying a key.
Why it matters
This fix resolves an issue where S3 URL parsing failed if the key was not provided in the path-style URL format, improving reliability when accessing S3 storage.
How to use it
Users benefit from this fix automatically when using S3 URLs in path-style format without specifying a key. No additional configuration or changes are needed.