Gravatar issue - can't save changes

This was due to a client side regression. I’ve fixed the issue and updated our test suite so that we don’t regress in the future.

https://github.com/discourse/discourse/commit/9c3ba98ef1f57a9d306152fa0ee75f575579563b

Thank you for reporting @RobMeade