Skip to content

Fix URL validator failure with empty string #16152

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

Merged
merged 2 commits into from
Oct 6, 2015
Merged

Conversation

fabpot
Copy link
Member

@fabpot fabpot commented Oct 6, 2015

Q A
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #15898
License MIT
Doc PR ~

Fix validator failure if method __toString of passed object return an empty string.

@Tobion
Copy link
Contributor

Tobion commented Oct 6, 2015

👍
Status: Reviewed

@fabpot
Copy link
Member Author

fabpot commented Oct 6, 2015

Thank you @bocharsky-bw.

@fabpot fabpot merged commit e0910d9 into symfony:2.3 Oct 6, 2015
fabpot added a commit that referenced this pull request Oct 6, 2015
…rsky-bw)

This PR was merged into the 2.3 branch.

Discussion
----------

Fix URL validator failure with empty string

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #15898
| License       | MIT
| Doc PR        | ~

Fix validator failure if method `__toString` of passed object return an empty string.

Commits
-------

e0910d9 Fix URL validator failure with empty string
0f61859 [Validator] added a failing test
@bocharsky-bw
Copy link
Contributor

@fabpot Thank you for tests.

This was referenced Oct 27, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants