Skip to content

Handle invalid URL input in Http steps#205

Merged
otsch merged 1 commit intomainfrom
bugfix/http-steps-invalid-input-url
Apr 8, 2025
Merged

Handle invalid URL input in Http steps#205
otsch merged 1 commit intomainfrom
bugfix/http-steps-invalid-input-url

Conversation

@otsch
Copy link
Member

@otsch otsch commented Apr 8, 2025

When feeding an Http step with a string that is not a valid URL (e.g. https://), the exception when trying to parse it as a URL is caught, and an error logged.

When feeding an `Http` step with a string that is not a valid URL (e.g.
`https://`), the exception when trying to parse it as a URL is caught,
and an error logged.
@otsch otsch merged commit 12d3176 into main Apr 8, 2025
11 of 18 checks passed
@otsch otsch deleted the bugfix/http-steps-invalid-input-url branch April 8, 2025 22:42
);
});

it('catches the exception and logs an error when feeded with an invalid URL', function () {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@otsch "fed" is the past tense

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.

2 participants