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

fix: extraction with optional query #24

Merged
merged 2 commits into from
Oct 12, 2022
Merged

Conversation

kbond
Copy link
Contributor

@kbond kbond commented Oct 11, 2022

$template->extract('/some/{path}{?ref}', '/some/foo'); // throws Uninitialized string offset: 0

$template->extract('/some/{path}{?ref}', '/some/foo?ref=bar'); // works as expected

@rezigned
Copy link
Member

Thanks! @kbond

@rezigned rezigned merged commit 5ed4ba8 into rize:master Oct 12, 2022
@kbond kbond deleted the fix-optional-query branch October 12, 2022 17:30
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

2 participants