Ghost/ghost/core/test/unit/server/web
Daniel Lockyer 9a40440e82 Fixed handling SVG files with missing tag
fix https://linear.app/tryghost/issue/SLO-151/[ghost]-cannot-read-properties-of-null-reading-attributes-an

- in the event the file doesn't contain a tag, the code currently crashes
  because it tries to read `attributes from `undefined`
- we can fix that by checking the first element exists before reading
  from it
- also includes a breaking test
2024-06-18 14:41:11 +02:00
..
admin
api Fixed handling SVG files with missing tag 2024-06-18 14:41:11 +02:00
parent/middleware
shared/middleware