Skip to content

Add limits to the avatar endpoint #12

@tilosp

Description

@tilosp

Currently it's basically a proxy for arbitrary urls, which seems quite dangerous.

Possible solutions:

  • Instead of taking a url as an argument, use the github username, and let the nextcloud server figure out where to get the avatar from
  • check the url against a list of allowed domains
  • instead of proxying the avatars, download the avatars directly from github in the browser
  • keep the current behaviour, but add a warning for admin letting them know that they now also provide a proxy for their users

@eneiluj should i also open similar issues for the other integration_* apps that have the same behaviour?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    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