0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-03 23:00:14 -05:00
ghost/core/server/api/canary
Daniel Lockyer a851cdfc7b Handled bad URLs in oembed bookmark API
fixes #11636

- malformed URLs passed to oembed API would cause `got` or `metascraper`
  to throw an error and this would result in a 500 error from Ghost
- this commit catches the errors and returns a reasonable response
2020-03-02 14:24:26 +00:00
..
utils Added member login resource to Admin API (#11607) 2020-02-27 11:48:02 +08:00
actions.js Updated canary actions endpoint 2019-08-14 17:40:36 +08:00
authentication.js
authors-public.js
config.js
db.js Corrected 404 handling 2020-02-10 12:41:39 +00:00
email-preview.js Refactored email handling to be consistent for test and newsletter emails 2019-11-26 21:41:01 +05:30
email.js Moved toJSON calls to serializer 2019-11-25 12:04:58 +07:00
images.js
index.js Added member login resource to Admin API (#11607) 2020-02-27 11:48:02 +08:00
integrations.js
invites.js
labels.js Added labels for Members (#11538) 2020-02-14 15:03:10 +05:30
mail.js
members.js Added created_at field to accepted fields for members CSV import 2020-02-19 19:55:32 +08:00
memberSigninUrls.js Added member login resource to Admin API (#11607) 2020-02-27 11:48:02 +08:00
notifications.js
oembed.js Handled bad URLs in oembed bookmark API 2020-03-02 14:24:26 +00:00
pages-public.js
pages.js Allowed pages to accept HTML as a source (#11422) 2020-01-08 17:44:34 +01:00
posts-public.js
posts.js 🏗Added host config limits for member emails (#11439) 2019-12-17 19:24:27 +05:30
preview.js
redirects.js
roles.js
schedules.js 🏗 Migrated scheduler to work with v2 API (#11142) 2019-09-23 21:42:53 +05:30
session.js 💡Migrated session controllers for compatibility with "frame" (#11101) 2019-09-11 11:28:55 +02:00
settings-public.js
settings.js Added permission restrictions to editing members flag (#11217) 2019-10-09 10:26:54 +02:00
site.js
slack.js
slugs.js
tags-public.js
tags.js
themes.js
users.js Basic implementation of backup retreival from file 2020-02-10 12:41:39 +00:00
webhooks.js