Skip to content

HTML errors from API requests display HTML in the alert #8203

@kevinansfield

Description

@kevinansfield

Issue Summary

When an API request fails and a service between the client and the Ghost service (e.g. a proxy/CDN returning a timeout screen) returns HTML, that content gets displayed in the error alert rather than a sensible message.

48d27740-0260-11e7-916c-5cc4d8f79093

Steps to Reproduce

T.B.D

Technical details:

  • Ghost Version: LTS (possibly master, needs replication)

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects:adminAnything relating to Ghost Adminbug[triage] something behaving unexpectedly

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions