Skip to content

Conversation

lunika
Copy link
Member

@lunika lunika commented Aug 25, 2025

Purpose

Validate the url parameters and don't return information when the fetched url is failing.

Proposal

  • ♻️(back) validate url used in cors_proxy endpoint
  • ♻️(back) stop returning a 500 on cors_proxy on request failure

lunika added 2 commits August 25, 2025 16:30
The url used by the cors_proxy was not validated, other value than a
http url can be used. We use the built in URLValidator to validate it is
a valid url.
On the cors_proxy endpoint, if the fetched url fails we were returning
an error 500. Instead, we log the exception and return a 400 to not
give back information to the frontend application.
@lunika lunika requested a review from AntoLC August 25, 2025 15:36
@lunika lunika self-assigned this Aug 25, 2025
@lunika lunika added the enhancement improve an existing feature label Aug 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improve an existing feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant