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

[5.8] Test for TrimStrings middleware #26335

Conversation

jeromejaglale
Copy link

This test is a bug report for the TrimStrings middleware class. The test fails because array parameters declared in $except are ignored: the array values are trimmed anyway.

I proposed a fix yesterday:
https://github.com/laravel/framework/pull/26301/files

This is one of my first pull requests, sorry if I missed something.

@GrahamCampbell GrahamCampbell changed the title Test for TrimStrings middleware [5.8] Test for TrimStrings middleware Oct 31, 2018
Copy link
Member

@driesvints driesvints left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @jeromejaglale, thanks for your contribution. Please also include the fixed code from your other PR.

@taylorotwell
Copy link
Member

We don't accept PRs that are only failing tests. Only fixes with tests.

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

3 participants