Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API to setAvatar is making a request to the avatar URL and freezes on invalid ones #12787

Closed
rafaelks opened this issue Nov 30, 2018 · 0 comments

Comments

@rafaelks
Copy link
Contributor

Description:

curl -w "\n\n%{time_total}\n" -H "X-Auth-Token: (private)" -H "X-User-Id: (private)" -H "Content-Type: application/json" -d '{"avatarUrl": "https://portal.drugovich.com.br/files/funcionarios/avatar/avatar_12611.jpg"}' https://open.rocket.chat/api/v1/users.setAvatar -i
HTTP/2 502 
content-type: text/plain; charset=utf-8
content-length: 11
date: Fri, 30 Nov 2018 12:11:58 GMT

Bad Gateway

Seconds: 120.629467
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants