codimd/lib/models
Rafal Proszowski e1977a1da7
Fix GitHub's avatar URL
At the moment, the URL is being composed and modified with the use of
string composition.

This causes issues, if the URL returned by GitHub slightly differs from
the time developer initially had a look into it.

In our case, the URL from GitHub has two query parameters in it, whilst
the codebase only expected one.

This change will take all of these parameters and only set the one we
care about, whilst leaving others intact and carry on with the full URL.

Fixes #1489

Signed-off-by: Rafal Proszowski <paroxp@gmail.com>
2020-04-20 12:25:32 +01:00
..
author.js fix: upgrade sequelize to latest version to fix CVE 2019-04-12 18:00:21 +08:00
index.js refactor: fix lint warning on models and migrations 2019-04-12 18:01:39 +08:00
note.js refactor: show note 2020-01-06 14:19:03 +08:00
revision.js fix: upgrade sequelize to latest version to fix CVE 2019-04-12 18:00:21 +08:00
user.js Fix GitHub's avatar URL 2020-04-20 12:25:32 +01:00