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

Uri: Allow disabling the params parsing #4287

Merged
merged 1 commit into from
Apr 26, 2022

Conversation

lukasbestle
Copy link
Member

@lukasbestle lukasbestle commented Apr 25, 2022

This PR …

Enhancements

Breaking changes

None

Ready?

  • Unit tests for fixed bug/feature
  • In-code documentation (wherever needed)
  • Tests and checks all pass

For review team

The `params` prop can now be set to `false` to treat colons/semicolons in the path as literals and not as param separators. This is useful for parsing external non-Kirby URIs.

Fixes #2948.
@lukasbestle lukasbestle added the type: enhancement ✨ Suggests an enhancement; improves Kirby label Apr 25, 2022
@lukasbestle lukasbestle added this to the 3.6.6 milestone Apr 25, 2022
@lukasbestle lukasbestle requested a review from a team April 25, 2022 21:03
@lukasbestle lukasbestle self-assigned this Apr 25, 2022
@lukasbestle lukasbestle linked an issue Apr 25, 2022 that may be closed by this pull request
@bastianallgeier bastianallgeier merged commit 7addf60 into develop Apr 26, 2022
@bastianallgeier bastianallgeier deleted the feature/2948-uri-disabled-params branch April 26, 2022 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement ✨ Suggests an enhancement; improves Kirby
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Url functions mistake some paths with colon (:) as Param
2 participants