Skip to content

«📊 Проект» says «docs/deploy.md», and Telegram links deploy.md to a stranger's .md domain #362

Closed

Description

@lumenpearson

«📊 Проект» (/project, and the «📊 Проект» button on «⚙️ Класс») ends with «Где графики», whose last sentence is project_render.GRAPHS: «… Ссылки — в docs/deploy.md.» Telegram autolinks a bare domain, and .md is a top-level domain (Moldova), so the client draws deploy.md as a link to http://deploy.md — a stranger's domain, one tap from the deployment owner's screen.

Failure scenario: on 6 October 2026, after #359's merge, the owner opened «📊 Проект» in the production bot (Telegram Desktop); deploy.md showed in link colour, and docs/ beside it did not. A tap opens whatever deploy.md serves. The constant's own comment says the dashboards are named «never by link»; the sentence that points at the document became the one link on the screen.

No test could see it: the renderer's output is HTML without an <a>, and the link is added by Telegram's own entity parser, on the server and in the client, from the text alone.

Fix: put the path in <code>, inside which Telegram detects no link, and hold it with a test that no bare name.tld-shaped path of a document leaves the screen outside <code>. Found from the owner's screenshot of the first /project on production.

Activity

  1. moved this to In progress in lessonson Oct 6, 2026
  2. added a commit that references this issue on Oct 6, 2026
  3. added 2 commits that reference this issue on Oct 16, 2026
    844f8ce
    48c5522
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status
      Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions