Skip to content

Fix a special case when url variables contain protocol/schema#248

Merged
darrenburns merged 2 commits into
darrenburns:mainfrom
kkHAIKE:fix_variable_have_schema
Apr 13, 2025
Merged

Fix a special case when url variables contain protocol/schema#248
darrenburns merged 2 commits into
darrenburns:mainfrom
kkHAIKE:fix_variable_have_schema

Conversation

@kkHAIKE
Copy link
Copy Markdown
Contributor

@kkHAIKE kkHAIKE commented Apr 10, 2025

e.g. BASE_URL=https://foo.com

It's inappropriate to use ensure_protocol prematurely; it should be deferred until after apply_template.

@kkHAIKE kkHAIKE force-pushed the fix_variable_have_schema branch from 8d2c05e to edfd2de Compare April 10, 2025 08:10
@kkHAIKE kkHAIKE changed the title Fix a special case when variables contain schema Fix a special case when variables contain protocol/schema Apr 10, 2025
@kkHAIKE kkHAIKE changed the title Fix a special case when variables contain protocol/schema Fix a special case when url variables contain protocol/schema Apr 11, 2025
…tute vars before ensuring the protocol is present, so this isnt useful.
@darrenburns darrenburns linked an issue Apr 13, 2025 that may be closed by this pull request
Copy link
Copy Markdown
Owner

@darrenburns darrenburns left a comment

Choose a reason for hiding this comment

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

Good spot - thank you!

@darrenburns darrenburns merged commit 286111d into darrenburns:main Apr 13, 2025
1 check 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.

Name or service unknown

2 participants