-
Notifications
You must be signed in to change notification settings - Fork 197
[fix] Add url
validation in HttpFetcher.Fetch
#10452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[fix] Add url
validation in HttpFetcher.Fetch
#10452
Conversation
This pull request does not have a backport label. Could you fix it @hayotbisonai? 🙏
|
url
validation in HttpFetcher.Fetch
url
validation in HttpFetcher.Fetch
url
validation in HttpFetcher.Fetch
url
validation in HttpFetcher.Fetch
@hayotbisonai Thanks for the contribution. Change looks good overall, thanks for the extra check. Once it shows a green CI, I will give an approval. |
Pinging @elastic/elastic-agent-control-plane (Team:Elastic-Agent-Control-Plane) |
buildkite test this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@Mergifyio backport 8.18 8.19 9.0 9.1 9.2 |
✅ Backports have been created
|
* feat: url parser error check * feat: fetcher test with invalid url * fix: remove error check * fix: remove test case * fix: move url validator check into httpFetcherResult method * fix: test case (cherry picked from commit ffcf093)
* feat: url parser error check * feat: fetcher test with invalid url * fix: remove error check * fix: remove test case * fix: move url validator check into httpFetcherResult method * fix: test case (cherry picked from commit ffcf093)
* feat: url parser error check * feat: fetcher test with invalid url * fix: remove error check * fix: remove test case * fix: move url validator check into httpFetcherResult method * fix: test case (cherry picked from commit ffcf093)
* feat: url parser error check * feat: fetcher test with invalid url * fix: remove error check * fix: remove test case * fix: move url validator check into httpFetcherResult method * fix: test case (cherry picked from commit ffcf093)
* feat: url parser error check * feat: fetcher test with invalid url * fix: remove error check * fix: remove test case * fix: move url validator check into httpFetcherResult method * fix: test case (cherry picked from commit ffcf093)
* feat: url parser error check * feat: fetcher test with invalid url * fix: remove error check * fix: remove test case * fix: move url validator check into httpFetcherResult method * fix: test case (cherry picked from commit ffcf093) Co-authored-by: Barkhayot <[email protected]>
* feat: url parser error check * feat: fetcher test with invalid url * fix: remove error check * fix: remove test case * fix: move url validator check into httpFetcherResult method * fix: test case (cherry picked from commit ffcf093) Co-authored-by: Barkhayot <[email protected]>
* feat: url parser error check * feat: fetcher test with invalid url * fix: remove error check * fix: remove test case * fix: move url validator check into httpFetcherResult method * fix: test case (cherry picked from commit ffcf093) Co-authored-by: Barkhayot <[email protected]>
* feat: url parser error check * feat: fetcher test with invalid url * fix: remove error check * fix: remove test case * fix: move url validator check into httpFetcherResult method * fix: test case (cherry picked from commit ffcf093) Co-authored-by: Barkhayot <[email protected]>
* feat: url parser error check * feat: fetcher test with invalid url * fix: remove error check * fix: remove test case * fix: move url validator check into httpFetcherResult method * fix: test case (cherry picked from commit ffcf093) Co-authored-by: Barkhayot <[email protected]>
What does this PR do?
url
check inFetch
to ensurebaseURL
is valid and prevent runtime errorsbaseURL
Why is it important?
Checklist
./changelog/fragments
using the changelog toolDisruptive User Impact
How to test this PR locally
Related issues
Questions to ask yourself