Skip to content
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

Check protocol at runtime #3319

Merged
merged 1 commit into from
Oct 21, 2024
Merged

Check protocol at runtime #3319

merged 1 commit into from
Oct 21, 2024

Conversation

fabricereix
Copy link
Collaborator

@fabricereix fabricereix commented Oct 20, 2024

We have added the check that if a protocol is given, it must be either http or https.

The existing behavior that a protocol must be given explicitly does not change in this PR
hurl --variable host=localhost:8000 tests_failed/invalid_url_1.hurl

But we should change this behavior in a following PR.
The url could have a default protocol, such as http (curl-like) or https (browser-like)

@fabricereix fabricereix linked an issue Oct 20, 2024 that may be closed by this pull request
@fabricereix fabricereix force-pushed the check/protocol-at-runtime branch 2 times, most recently from d1ed04b to 9848c92 Compare October 20, 2024 17:51
@jcamiel
Copy link
Collaborator

jcamiel commented Oct 21, 2024

/accept

@hurl-bot
Copy link
Collaborator

🕗 /accept is running, please wait for completion.

@hurl-bot
Copy link
Collaborator

🔨 Auto rebase from Orange-OpenSource/hurl/master succeeds, Orange-OpenSource/hurl/check/protocol-at-runtime now embeds these commits:

@hurl-bot
Copy link
Collaborator

🕗 /accept is still running, please wait for completion.

@hurl-bot hurl-bot force-pushed the check/protocol-at-runtime branch from 9848c92 to c62fb43 Compare October 21, 2024 05:59
@hurl-bot
Copy link
Collaborator

✅ Pull request merged and closed by jcamiel with fast forward merge..

# List of commits merged from Orange-OpenSource/hurl/check/protocol-at-runtime branch into Orange-OpenSource/hurl/master branch:

  • c62fb43 Check protocol at runtime

@hurl-bot hurl-bot closed this Oct 21, 2024
@hurl-bot hurl-bot merged commit c62fb43 into master Oct 21, 2024
23 checks passed
@hurl-bot hurl-bot deleted the check/protocol-at-runtime branch October 21, 2024 06:25
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.

Whitelist HTTP/HTTPS protocol at runtime
3 participants