Skip to content

Uploaded files in Symfony Profiler #26926

Closed
@chapterjason

Description

@chapterjason
Q A
Bug report? no
Feature request? yes
BC Break report? no
RFC? WDYT?
Symfony version 4.0.6

I just created a simple UI for files and created a endpoint to upload files via ajax.

I'm fetching the files from the request($request->files) and handle the files in this way:

         /**
         * @var UploadedFile|UploadedFile[] $uploadedFiles
         */
        foreach ($request->files as $uploadedFile) {
            if(\is_array($uploadedFile)){
                foreach ($uploadedFile as $file) {
                    $upload($file);
                }
            }else if($uploadedFile instanceof UploadedFile){
                $upload($uploadedFile);
            }
        }

I noticed then in the Symfony Profiler that there are only listed the GET Parameters and POST Parameters.

image

Something like a file list with some information would be awesome.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions