Skip to content

Conversation

@ralt
Copy link
Contributor

@ralt ralt commented Sep 22, 2025

The path was actually setting authSource, not the URL's path, so this was broken to begin with, as has been pointed out in #458 already.

That said, some Symfony Cloud systems somehow forgot to expose the port in the relationships, and as such, just "fixing" that would break existing systems.

This commit does 2 things:

  1. Introduces a BC-mode where if the provided host is a fully-formed URL, we use it as-is
  2. Creates a correct URL from the endpoint, avoiding any future issues related to string parsing.

The path was actually setting `authSource`, not the URL's path, so
this was broken to begin with, as has been pointed out in
symfony-cli#458 already.

That said, some Symfony Cloud systems somehow forgot to expose the
`port` in the relationships, and as such, just "fixing" that would
break existing systems.

This commit does 2 things:

1. Introduces a BC-mode where if the provided `host` is a fully-formed
   URL, we use it as-is
2. Creates a correct URL from the endpoint, avoiding any future issues
   related to string parsing.
@ralt ralt requested a review from fabpot September 22, 2025 15:50
@fabpot fabpot merged commit d5f0562 into symfony-cli:main Sep 22, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants