Skip to content

Conversation

@chrillebile
Copy link
Contributor

This PR

If the endpoint did not have a trailing slash then configurationHasChanged request would not work correctly, as it would try to do a request on https://example.comv1/flag/change instead of https://example.com/v1/flag/change
URL(this.endpoint) is being used for all other requests to mitigate this, except for configurationHasChanged.

How to test

Before you could not set the endpoint to https://example.com, you had to set https://example.com/.
Now you can set https://example.com or https://example.com/.

@chrillebile chrillebile requested a review from a team as a code owner March 17, 2025 14:05
@github-actions github-actions bot requested a review from thomaspoignant March 17, 2025 14:05
If the endpoint did not have a trailing slash then
configurationHasChanged would not work correctly.
Signed-off-by: Christian Bilevits <[email protected]>
@toddbaert
Copy link
Member

@thomaspoignant any concerns with this?

@thomaspoignant thomaspoignant requested a review from a team as a code owner April 11, 2025 13:26
@thomaspoignant thomaspoignant enabled auto-merge (squash) April 11, 2025 13:26
@thomaspoignant thomaspoignant disabled auto-merge April 11, 2025 13:30
@thomaspoignant thomaspoignant merged commit ce6a8e1 into open-feature:main Apr 11, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants