Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Ensure wildcard route assembly skips non-scalar values #47

Conversation

weierophinney
Copy link
Member

When routing to middleware, you may provide an array of middleware. In such cases, the wildcard router was attempting to rawurlencode() that array, leading to a fatal error.

This patch modifies the logic to skip non-scalar values.

Fixes #46

When routing to middleware, you may provide an array of middleware. In
such cases, the wildcard router was attempting to `rawurlencode()` that
array, leading to a fatal error.

This patch modifies the logic to skip non-scalar values.
@weierophinney weierophinney merged commit 31f6b08 into zendframework:master Jun 18, 2018
weierophinney added a commit that referenced this pull request Jun 18, 2018
@weierophinney weierophinney deleted the hotfix/46-wildcard-merge-params branch June 18, 2018 21:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant