Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[5.2] Fix dimensions validation when string is provided#14025

Merged
taylorotwell merged 1 commit into
laravel:5.2from
omar-dev:fix-dimensions-validation
Jun 21, 2016
Merged

[5.2] Fix dimensions validation when string is provided#14025
taylorotwell merged 1 commit into
laravel:5.2from
omar-dev:fix-dimensions-validation

Conversation

@omar-dev
Copy link
Copy Markdown
Contributor

When you are using dimensions rule the validation should fail when a string is provided instead of a file, however this will happen

Error: Call to a member function getRealPath() on string

@GrahamCampbell GrahamCampbell changed the title fix dimensions validation when string is provided [5.2] Fix dimensions validation when string is provided Jun 17, 2016
@taylorotwell
Copy link
Copy Markdown
Member

@themsaid thoughts?

@themsaid
Copy link
Copy Markdown
Member

@taylorotwell I think it's fine, if the value is not a valid file it should fail.

@taylorotwell taylorotwell merged commit a0dbc55 into laravel:5.2 Jun 21, 2016
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.

3 participants