Ghost/ghost/core/test/unit/server
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
..
adapters Enforced more Mocha lint rules (#19720) 2024-04-16 09:37:06 +02:00
data Added posts.updated_at index to schema (#20357) 2024-06-10 11:35:21 -05:00
lib Upgraded to latest version of @tryghost/request 2023-09-26 12:45:14 +01:00
models Enforced more Mocha lint rules (#19720) 2024-04-16 09:37:06 +02:00
services 🐛 Fixed Slack integration using member content in excerpt (#20328) 2024-06-05 17:46:21 +01:00
web Fixed handling SVG files with missing tag 2024-06-18 14:41:11 +02:00
notify.test.js Fixed configUtils and adapter cache issues in E2E tests (#16167) 2023-01-30 14:06:20 +01:00
overrides.test.js Converted Ghost repo into a monorepo 2022-07-20 16:41:05 +02:00