Skip to content

Uploaded files in Symfony Profiler #26926

@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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy