Skip to content
This repository was archived by the owner on Oct 4, 2023. It is now read-only.
This repository was archived by the owner on Oct 4, 2023. It is now read-only.

url with '+' causing issues.  #85

@apex-omontgomery

Description

@apex-omontgomery

I found this bug, and submitted this to the api@imgur.com.

It appears to be an issue within the website and how it parses the url, as it's replicated by copy and pasting the image url to the homepage and doesn't happen when you save the image and drag image.

The specific call I'm using within python:
self.client.upload_from_url(url, config=None, anon=False)
example url:
https://static1.squarespace.com/static/50ae6cdfe4b09793f627a63b/t/5170a86ee4b09a3e33b049df/1366337647067/chicken+legs.jpg
exception message from cli:
imgurpython.helpers.error.ImgurClientError: (415) {'code': 1003, 'message': 'File type invalid (1)', 'type': 'ImgurException', 'exception': {}}
Inline image 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions