[C#]: 对 AXAML 主页,请求不到正确的版本文件

Open
#3,875 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
csharp
Domain
desktop

Research direction

The payload names no source file, so start by finding where the launcher builds the version-check URL for a homepage link, then compare how .xaml and non-.xaml homepage links are handled. Expected behaviour is a request for .xaml.ini rather than /version for AXAML homepages. Done means the AXAML homepage requests the right version file and repeated loads of the same version stop re-downloading. Reproduce by loading the magazine homepage several times and watching the network requests.

Written by the indexing model from the issue text.

Description

检查项 / Checklist
  • 我已在 Issues 页面 中搜索,确认了这一 Bug 未被提交过 / I have searched the Issues page and confirmed that this bug has not been reported yet.
  • 我确认只是全部选中而没有仔细确认就直接提交了这个 Issue,并且同意这个 Issue 可以直接被关闭 / I confirm that I checked all boxes without carefully reading them, and agree that this issue may be closed directly.
  • 我确认正在使用当前更新分支的最新版 PCL CE,若不是,此 Issue 可能会被直接关闭(更新方式:启动器 设置-关于-软件更新 检查更新,或在 Releases 页面下载) / I confirm that I am using the latest PCL CE version on the current update channel. If not, this issue may be closed directly. To update, check for updates in Settings → About → Updates, or download the latest version from the Releases page.
  • 我确认会详细描述我所遇到的问题,并附上日志和截图,而不是随便填点东西敷衍了事 / I will describe the problem in detail, attach logs and screenshots, and avoid submitting vague or incomplete information.
  • 我确认已亲自复现并核实所报告的问题;如未能复现,我已在描述中明确说明未确认的部分。Issue 中的描述、日志和截图均为真实内容,未直接提交 AI 生成的未经核实内容 / I confirm that I have personally reproduced and verified the reported problem. If I could not reproduce it, I have clearly stated which parts remain unconfirmed in the description. The description, logs, and screenshots are genuine, and I have not submitted unverified AI-generated content.
AI 使用情况 / AI Usage

未使用 / Not used

AI 工具与核实说明 / AI Tools and Verification

无
(好吧,最初是审核pr的sourcery发现的)

描述 / Description

加载 AXAML 格式的主页时,PCL 对非 .xaml 后缀的主页链接,会自动去请求 /version,但预期情况是请求 .xaml.ini。

重现步骤 / Steps to Reproduce

加载杂志主页或任意 AXAML 主页。
多次加载同一版本,会发现存在重复下载现象。

日志与附件 / Logs & Attachments

N/A

Dominant language
C#
Stars
4.3k
Forks
148
Avg merge
1d 6h
Merged PRs (30d)
64

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PCL-Community/PCL-CE

All issues in PCL-Community/PCL-CE

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.