From 1c953507f72988dbbe97d774d54631957cac808f Mon Sep 17 00:00:00 2001 From: goboss Date: Tue, 5 May 2026 13:42:19 +0000 Subject: [PATCH] =?UTF-8?q?RECOMMENDATIONS:=20D-canonical-archive=20REGRES?= =?UTF-8?q?SION=20=E2=80=94=2020=20newer=20sites=20m=D0=B5=D1=8F=D1=82?= =?UTF-8?q?=D1=8C=20bug=20=D1=83=20getLinks()=20=E2=80=94=20emit=20canonic?= =?UTF-8?q?al=20=D0=BD=D0=B0=20archive=20=D0=B7=D0=B0=D0=BC=D1=96=D1=81?= =?UTF-8?q?=D1=82=D1=8C=20empty=20(broxxx/pornv=20pre-regression=20behavio?= =?UTF-8?q?ur=3D=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D0=BB=D1=8C=D0=BD=D0=BE)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/RECOMMENDATIONS.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/docs/RECOMMENDATIONS.md b/docs/RECOMMENDATIONS.md index 6f0823e..6501c15 100644 --- a/docs/RECOMMENDATIONS.md +++ b/docs/RECOMMENDATIONS.md @@ -332,3 +332,27 @@ curl -sL "https://www.//" | grep -oE 'rel="ca **Frontend template** (`id_index.etlua`) можливо потребує adjustment коли backend exposes `mysettings.cur_archive_path` чи similar — depending on app.lua implementation. Reported 2026-05-05 by user audit на 8159 → bug confirmed на ВСІХ 13 sites with archive routing setup. + +## D-canonical-archive-regression — REGRESSION у нових `getLinks()` (~20 sites) + +**Update 2026-05-05:** Audit deeper показав що це **regression**, не intended config. + +**Reference (correct behavior — pre-batch sites):** +- broxxx.com (8133), pornv.xxx (8120): same `var.canonical_without_archive=1`, але archive route → `getLinks()` повертає `cur_canonical=""` → layout skip emit → **no canonical on archive** ✓ +- Це matching intent variable name "canonical_without_archive" = "canonical видається без archive context, тобто на archive не emit-иться". + +**Bug (regression — newer sites):** +- 8161, 8159, 8163, 8158, 8151, 8152, 8153, 8154, 8155, 8156, 8157, 8158, 8160, 8162, 8140, 8141, 8142, 8145, 8148, 8149: same config `=1`, але archive route → `cur_canonical=` → canonical EMITS до /v/. +- Це over-engineered — backend strips archive prefix замість returning empty. + +**Scope:** ~20 sites with newer code version. Different `getLinks()` implementations у `lib//content.lua`. + +**Fix (backend dev task):** +- Identify які content.lua versions мають regression. +- Patch `getLinks()` to return `cur_canonical=""` when `canonical_without_archive=1` AND archive route. +- Match broxxx/pornv behavior (старий правильний reference). +- kor reboot per site. + +**Verify:** після fix на archive URL — `` має бути absent (як у broxxx/pornv). + +Reported 2026-05-05 by user audit. Frontend template OK — issue у `getLinks()` core return value.