Skip to content

docs: 多张图片 404(labuladong.online 图片路径失效、README 二维码缺失) #2653

Description

@auroraxo

问题描述

仓库多个 markdown 文件引用的 labuladong.online 图片已经失效(HTTP 404),另有一张 README 引用的图片在仓库中不存在:

  1. 数据结构系列/图.md 引用的站点图片全部 404(第 39、71、75 行等):
    ![](https://labuladong.online/algo/images/图/0.jpg)
    ![](https://labuladong.online/algo/images/图/2.jpeg)
  2. 算法思维系列/README.md(第 7 行)引用 ../pictures/table_qr2.jpg,该文件不在仓库中:
    ![labuladong二维码](../pictures/table_qr2.jpg)
  3. 系统扫描共发现 22 个失效的 labuladong.online/algo/images/... 路径(共 24 处引用),分布在数据结构系列等多个文档中。

复现步骤

curl -o /dev/null -w '%{http_code}\n' "https://labuladong.online/algo/images/图/0.jpg"
# → 404

curl -o /dev/null -w '%{http_code}\n' \
  https://raw.githubusercontent.com/labuladong/fucking-algorithm/master/pictures/table_qr2.jpg
# → 404

对照:站点本身正常(https://labuladong.online/ 返回 200),images/souyisou1.png 也能加载(200)——说明是特定图片路径失效,不是站点下线。

建议修复

  • 将失效的 labuladong.online/algo/images/... 链接替换为现可用的图片地址,或删除失效引用;
  • 恢复或移除 算法思维系列/README.md 中对 pictures/table_qr2.jpg 的引用。

补充说明

发现于一次针对开源仓库文档图片失效的系统性审计(https://codebyaurora.com/docrot/)。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions