Ghost/ghost/core/test/utils
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
..
agents
fixtures Fixed handling SVG files with missing tag 2024-06-18 14:41:11 +02:00
mocks
admin-utils.js 🎨 Reduced requests and 403 responses for comments auth check (#19840) 2024-03-12 12:27:18 +00:00
api.js
assertions.js
batch-email-utils.js Added email address alignment protections (#19094) 2023-11-23 10:25:30 +01:00
configUtils.js
db-utils.js
e2e-framework-mock-manager.js Added email address alignment protections (#19094) 2023-11-23 10:25:30 +01:00
e2e-framework.js
e2e-utils.js
fixture-utils.js
index.js
mocha-retry-reporter.js
overrides.js
redirects.js
stripe-mocker.js Added JSDoc to stripe-mocker (#20282) 2024-05-29 17:38:24 -05:00
url-service-utils.js
urlUtils.js