coolify/app/Livewire/Storage
Andras Bacsai 297e9c41e1 refactor(storage): tighten S3 endpoint URL validation
Reuse the existing SafeWebhookUrl rule on the S3 Storage endpoint field so
the create and edit forms go through the same URL-normalization path as
webhook settings. Adds a matching guard inside S3Storage::testConnection()
so background callers (scheduled backups, database import reuse) also
validate the endpoint before building the S3 client.

Also fixes an IPv6-bracket edge case in SafeWebhookUrl so `http://[::1]`
style hosts are normalized before the filter_var IP check — the rule's
own loopback test was already asserting this behaviour.
2026-04-20 11:50:19 +02:00
..
Create.php refactor(storage): tighten S3 endpoint URL validation 2026-04-20 11:50:19 +02:00
Form.php refactor(storage): tighten S3 endpoint URL validation 2026-04-20 11:50:19 +02:00
Index.php Fix styling 2024-06-10 20:43:34 +00:00
Resources.php feat(storage): add storage management for backup schedules 2026-03-19 12:48:52 +01:00
Show.php feat(storage): add resources tab and improve S3 deletion handling 2026-03-19 11:42:29 +01:00