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

Hotfix #291 - Allowed param names with : at the beginning #292

Merged
merged 2 commits into from
Dec 11, 2017
Merged

Hotfix #291 - Allowed param names with : at the beginning #292

merged 2 commits into from
Dec 11, 2017

Conversation

michalbundyra
Copy link
Member

@michalbundyra michalbundyra commented Dec 8, 2017

PHP supports binding params with : and without. As we add it always
we should strip it out first before checking the name with regular
expression, and add it at the end.

Resolves #291

@TakeoO @GreedyBytes can you please this solution with your code? Thanks

/ping @ezimuel

  • Are you fixing a bug?

    • Detail how the bug is invoked currently.
    • Detail the original, incorrect behavior.
    • Detail the new, expected behavior.
    • Base your feature on the master branch, and submit against that branch.
    • Add a regression test that demonstrates the bug, and proves the fix.
    • Add a CHANGELOG.md entry for the fix.
  • Is this related to quality assurance?

PHP supports binding params with `:` and without. As we add it always
we should strip it out first before checking the name with regular
expression, and add it at the end.
@weierophinney weierophinney merged commit 7dcee01 into zendframework:master Dec 11, 2017
weierophinney added a commit that referenced this pull request Dec 11, 2017
Hotfix #291 - Allowed param names with `:` at the beginning
weierophinney added a commit that referenced this pull request Dec 11, 2017
Provides more context.
weierophinney added a commit that referenced this pull request Dec 11, 2017
weierophinney added a commit that referenced this pull request Dec 11, 2017
Forward port #292

Conflicts:
	CHANGELOG.md
@michalbundyra michalbundyra deleted the hotfix/291 branch December 11, 2017 15:04
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.

Zend/DB invalid params
3 participants