Skip to content

URL Formatting Bug in primaryimageurl #28

@QWang00

Description

@QWang00

Problem

When I use the API to get the primaryimageurl (e.g., https://api.harvardartmuseums.org/object/304069/primaryimageurl?apikey=YOUR_API_KEY), the URL in the response has an extra space after : and before //.

Example response:

"primaryimageurl": "https: //nrs.harvard.edu/urn-3:HUAM:DDC251092_dynmc"

This makes the URL invalid and unusable in browsers or apps.

Expected

The URL should look like this:

"primaryimageurl": "https://nrs.harvard.edu/urn-3:HUAM:DDC251092_dynmc"

Request

It would be greatly appreciated if the extra space could be removed to ensure the URL functions correctly.

Thank you!

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