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

cmd/generate: Handle rewriting uri.query.value to empty strings #546

Merged
merged 5 commits into from Mar 24, 2023

Conversation

jacobbednarz
Copy link
Member

This PR achieves two things. The fist, updates writeAttrLine to accept the parent block information and allow us to perform different behaviour based on the ancestry. The second allows customers to strip query string parameters in rewrite rules and ensures cf-terraforming knows it is a special case for empty strings.

Updates `writeAttrLine` to accept the parent block information and allow us to
perform different behaviour based on the ancestry.
Allows customers to strip query string parameters in rewrite rules and ensures
cf-terraforming knows it is a special case for empty strings.
@jacobbednarz jacobbednarz force-pushed the allow-empty-rewrite-rules-to-generate branch from ca4b5c6 to c108070 Compare March 24, 2023 01:57
@jacobbednarz jacobbednarz force-pushed the allow-empty-rewrite-rules-to-generate branch from 375fa12 to 2f54c1a Compare March 24, 2023 02:09
@jacobbednarz jacobbednarz merged commit f80a755 into master Mar 24, 2023
4 checks passed
@jacobbednarz jacobbednarz deleted the allow-empty-rewrite-rules-to-generate branch March 24, 2023 02:11
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.

None yet

1 participant