Skip to content

Ensure Gravatar host looks like an actual host

username-removed-128633 requested to merge fix-gravator-default-url into master

Solves #10243 (closed).

I've chosen to simplify the method that extracts the host: since we only need the host, let's get rid of the path and thus get rid of the escaping problems!

Unit tests should ensure that most of the cases are covered.

Before

Screen_Shot_2016-01-18_at_15.01.20

After

Screen_Shot_2016-01-18_at_14.58.32

Merge request reports