mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 09:52:06 +03:00
64ed246d03
no issue - added an `externalRequest` lib - uses same underlying `got` module as our `request` lib - uses `got`'s `beforeRequest` and `beforeRedirect` hooks to perform it's own dns resolution for each url that's encountered and aborts with an error if it resolves to a private IP address block - includes a bypass for Ghost's configured url so that requests to it's own hostname+port are not blocked - updated v2 and canary oembed controllers to use the `externalRequest` lib |
||
---|---|---|
.. | ||
actions_spec.js | ||
config_spec.js | ||
db_spec.js | ||
email_preview_spec.js | ||
emails_spec.js | ||
images_spec.js | ||
integrations_spec.js | ||
invites_spec.js | ||
key_authentication_spec.js | ||
mail_spec.js | ||
members_spec.js | ||
notifications_spec.js | ||
oembed_spec.js | ||
pages_spec.js | ||
posts_spec.js | ||
roles_spec.js | ||
settings_spec.js | ||
slugs_spec.js | ||
tags_spec.js | ||
themes_spec.js | ||
users_spec.js | ||
utils.js | ||
webhooks_spec.js |