diff --git a/public/src/client/account/edit.js b/public/src/client/account/edit.js index dd8cbd8406..0f9ae7cf96 100644 --- a/public/src/client/account/edit.js +++ b/public/src/client/account/edit.js @@ -186,7 +186,7 @@ define('forum/account/edit', ['forum/account/header', 'translator', 'components' function handleImageUpload(modal) { function onUploadComplete(urlOnServer) { - urlOnServer = config.relative_path + urlOnServer + '?' + Date.now(); + urlOnServer = (!urlOnServer.startsWith('http') ? config.relative_path : '') + urlOnServer + '?' + Date.now(); updateHeader(urlOnServer);