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

handle form params without values, using arrays #64

Closed

Conversation

dakkar
Copy link

@dakkar dakkar commented Mar 28, 2019

This is a possible solution for #34

query_form now parses equal-less params, returning them as $key => []. This also round-trips.

This is a change in interface, though: previously, empty strings were returned.

you can create them by passing an empty arrayref of values, which is
also what you get when parsing them
@simbabque
Copy link
Contributor

Thank you @dakkar. We've decided to go with #65, which was merged via #128.

@simbabque simbabque closed this Apr 30, 2023
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.

2 participants