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?
Currently it's basically a proxy for arbitrary urls, which seems quite dangerous.
Possible solutions:
@eneiluj should i also open similar issues for the other
integration_*apps that have the same behaviour?