Skip to content

fix: match gallery rules using HTTP path semantics - #33

Closed
LIlGG wants to merge 3 commits into
halo-sigs:mainfrom
LIlGG:feat/fix-gallery-http-paths
Closed

LIlGG wants to merge 3 commits into
halo-sigs:mainfrom
LIlGG:feat/fix-gallery-http-paths

Conversation

@LIlGG

@LIlGG LIlGG commented Sep 14, 2026 •

Copy link
Copy Markdown
Member

已汇总至 #38,本 PR 关闭并由其替代。

What this PR does / why we need it:

显式使用 HTTP_PATH,修复默认 MESSAGE_ROUTE 以点号分段造成文章路径匹配失败。

7 个路径测试通过,覆盖 .html、多层路径、编码及不匹配路径。历史 Spring 6.0.12 探针复现默认解析失败;Halo 2.26 集成包的 .html 文章已通过灯箱打开验证。

依赖 #32:本分支已同步其完整基线提交,可独立执行 CI。建议先合并 #32;在此之前 Files changed 会包含公共基线,审核功能改动可比较 feat/update-halo-build-baseline 与本分支。本分支已单独通过 ./gradlew clean build,并检查 JAR 静态资源。

Which issue(s) this PR fixes:

Related to #13。该 issue 为 kind/support;这里只修复已复现的路径解析缺陷,不自动关闭整个支持问题。

Does this PR introduce a user-facing change?

修复部分文章路径无法匹配灯箱规则的问题。

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant