Node.js based forum software built for the modern web
fix: #9113, wrong path separator used in thumbs.get
Julian Lamda4f91186bf9
diff --git a/src/topics/thumbs.js b/src/topics/thumbs.jsindex e8709a46b4..a894e12810 100644--- a/src/topics/thumbs.js+++ b/src/topics/thumbs.js@@ -37,7 +37,7 @@ Thumbs.get = async function (tids) {let response = thumbs.map((thumbSet, idx) => thumbSet.map(thumb => ({id: tids[idx],name: path.basename(thumb),- url: thumb.startsWith('http') ? thumb : path.join(upload_url, thumb),+ url: thumb.startsWith('http') ? thumb : path.posix.join(upload_url, thumb),})));({ thumbs: response } = await plugins.hooks.fire('filter:topics.getThumbs', { tids, thumbs: response }));