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
When upload a file named 0, uploaded a file named file.
This cause is in a _multipart method at Mojo::UserAgent::Transactor.
In this method, used || operators and not properly handled a 0 value.
$value->{filename} ||= basename $file->path
if $file->isa('Mojo::Asset::File');
and
$filename = delete $value->{filename} || $name;
The text was updated successfully, but these errors were encountered:
When upload a file named
0
, uploaded a file namedfile
.This cause is in a
_multipart
method atMojo::UserAgent::Transactor
.In this method, used
||
operators and not properly handled a0
value.and
The text was updated successfully, but these errors were encountered: