Skip to content

Plugging to Phoenix endpoint results in malformes-url error #2

Description

@sntran

Per documentation, when I add plug Image.Plug to my Phoenix endpoint.ex, it intercepts all requests at / and fail the pipeline with

GET /
image_plug request failed: tag=malformed_url
Plug.Conn.AlreadySentError

I'm using Image.Plug.Provider.Cloudglafe.

To get around that, I have to add my own plug to forward only requests matching /cdn-cgi/image to Image_Plug, but I should not have to do that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions