Can't upload SVG in block


I have this message when I try to uplaod a svg in layout block image : The file could not be uploaded

I change kirby/config/blocks/image/image.yml (to be sure it’s a yml problem) like this :

icon: image
preview: image
accept: true

    type: files
    query: model.images
    multiple: false
      back: black
      template: blocks/image

But it’s the same problem.
I can put my SVG in the folder and it’s work, but I need an easy upload.

Config : Kirby 3.6.5 + Php 8.0.17 and Apache :slight_smile:

OK it’s was an SVG problem…
This one is OK :

<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="" version="1.1" width="300" height="200">
  <title>Exemple simple de figure SVG</title>
    Cette figure est constituée d'un rectangle,
    d'un segment de droite et d'un cercle.
  <rect width="100" height="80" x="0" y="70" fill="green" />
  <line x1="5" y1="5" x2="250" y2="95" stroke="red" />
  <circle cx="90" cy="80" r="50" fill="blue" />
  <text x="180" y="60">Un texte</text>

My SVG was from Adobe to PDF to Affinity so I svgomg-it and it’s OK.