You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't believe that this is expected behaviour.
Possible solution would be to convert back -> before returning but then existing input keys containing -> would also be affected.
Either the validate method could be changed back to fetch data from the request or the dot's should be replaced with something less likely of occurring?
Description:
When having request input arrays which keys contains
.
it is converted to->
when using data returned from thevalidate
method in a Controller.Since #25128 the Illuminate\Foundation\Validation\ValidatesRequests::validate method returns the input data directly from the validator instead of fetching it from the request. This means that the
str_replace
done in Illuminate\Validation\Validator:parseData to convert.
to->
is also returned.I don't believe that this is expected behaviour.
Possible solution would be to convert back
->
before returning but then existing input keys containing->
would also be affected.Either the
validate
method could be changed back to fetch data from the request or the dot's should be replaced with something less likely of occurring?Steps To Reproduce:
Basic controller:
Route:
Go to the page with the following query string
?nested[config.conf]=gsdggdfg
The text was updated successfully, but these errors were encountered: