diff --git a/maquettes/accueil-carte/index.html b/maquettes/accueil-carte/index.html
index e719d71..7d14253 100644
--- a/maquettes/accueil-carte/index.html
+++ b/maquettes/accueil-carte/index.html
@@ -1916,7 +1916,7 @@ btnLecture.addEventListener('click', () => {
});
(FORUM_OUVERT ? fetch('data/forum-une.json?' + Math.floor(Date.now() / 300000)).then(r => r.ok ? r.json() : null).then(u => {
if (!u || !u.titre) return;
- document.querySelectorAll('[data-une]').forEach(a => { a.textContent = u.titre; if (u.url) a.href = u.url; });
+ document.querySelectorAll('[data-une]').forEach(a => { a.textContent = u.titre; if (typeof u.url === 'string' && u.url.startsWith('/forum/') && !u.url.startsWith('//')) a.href = u.url; });
document.querySelectorAll('[data-auteur]').forEach(e => { e.textContent = u.auteur ? 'par ' + u.auteur : ''; });
if (u.n) document.querySelectorAll('[data-n]').forEach(e => { e.textContent = u.n + (u.n > 1 ? ' sujets' : ' sujet') + ' cette semaine'; });
}).catch(() => {}) : 0);
diff --git a/maquettes/accueil-carte/modele.html b/maquettes/accueil-carte/modele.html
index 9bf6c2e..ce555ab 100644
--- a/maquettes/accueil-carte/modele.html
+++ b/maquettes/accueil-carte/modele.html
@@ -1916,7 +1916,7 @@ btnLecture.addEventListener('click', () => {
});
(FORUM_OUVERT ? fetch('data/forum-une.json?' + Math.floor(Date.now() / 300000)).then(r => r.ok ? r.json() : null).then(u => {
if (!u || !u.titre) return;
- document.querySelectorAll('[data-une]').forEach(a => { a.textContent = u.titre; if (u.url) a.href = u.url; });
+ document.querySelectorAll('[data-une]').forEach(a => { a.textContent = u.titre; if (typeof u.url === 'string' && u.url.startsWith('/forum/') && !u.url.startsWith('//')) a.href = u.url; });
document.querySelectorAll('[data-auteur]').forEach(e => { e.textContent = u.auteur ? 'par ' + u.auteur : ''; });
if (u.n) document.querySelectorAll('[data-n]').forEach(e => { e.textContent = u.n + (u.n > 1 ? ' sujets' : ' sujet') + ' cette semaine'; });
}).catch(() => {}) : 0);