Skip to content

Unavailable web page asset leads to panic #130

Description

@mpsonntag

Web page assets are served using go http.FileServer and http.FileSystem via the /assets route.

A requested file that is not available leads to a server panic; e.g. requesting plain "https://[doi url]/assets".

Catch this panic and respond with status code "400 - Bad request" instaed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions