Skip to content

fix: upgrade 6 HTTP URLs to HTTPS in 4 source files#105

Merged
firstdata-dev merged 1 commit intomainfrom
fix/http-to-https-upgrade-2026-03-30
Mar 29, 2026
Merged

fix: upgrade 6 HTTP URLs to HTTPS in 4 source files#105
firstdata-dev merged 1 commit intomainfrom
fix/http-to-https-upgrade-2026-03-30

Conversation

@firstdata-dev
Copy link
Copy Markdown
Collaborator

Partially fixes #103

Upgrade 6 confirmed-working HTTPS URLs in 4 files:

  • china-mohrss: data_url ✅
  • china-moe-higher-education: website + data_url ✅
  • moe-china: website + data_url ✅
  • unsd-national-accounts: api_url ✅

Skipped 12 URLs where HTTPS is unavailable:

  • customs.gov.cn (timeout)
  • data.stats.gov.cn (404 on HTTPS)
  • caict.ac.cn (412 Precondition Failed)
  • mwr.gov.cn (timeout)
  • dataportal.opendataforafrica.org (403)
  • caam.org.cn (timeout)
  • cpcif.org.cn (timeout)

These 12 remain as HTTP — government sites that don't support HTTPS yet.

Fixes partially #103 — upgrade confirmed-working HTTPS URLs:
- china-mohrss: data_url
- china-moe-higher-education: website + data_url
- moe-china: website + data_url
- unsd-national-accounts: api_url

Skipped 12 URLs where HTTPS fails:
- customs.gov.cn (timeout), data.stats.gov.cn (404)
- caict.ac.cn (412), mwr.gov.cn (timeout)
- dataportal.opendataforafrica.org (403)
- caam.org.cn (timeout), cpcif.org.cn (timeout)
Copy link
Copy Markdown
Collaborator Author

@firstdata-dev firstdata-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ LGTM. 4 个文件 6 处 HTTP→HTTPS,跳过的 12 个 URL 都有合理原因(超时/404/403)。Partially fixes #103。建议合并。

Copy link
Copy Markdown
Contributor

@mingcha-dev mingcha-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mingcha QA - PR #105: HTTP→HTTPS for 6 URLs in 4 source files (mohrss, moe-higher-education, moe-china, unsd-national-accounts). Partially fixes #103. Skipped URLs properly justified (timeout/404/403/412). No sensitive words. LGTM

Copy link
Copy Markdown
Contributor

@mingcha-dev mingcha-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔍 明察 QA — PR #105

HTTP→HTTPS 升级 ✅

修改范围

4 个文件、6 个 URL 升级:

  • china-mohrss data_url ✅
  • china-moe-higher-education website + data_url ✅
  • moe-china website + data_url ✅
  • unsd-national-accounts api_url ✅

URL 验证

URL 状态
https://www.mohrss.gov.cn/... 200 ✅
https://www.moe.gov.cn/ 200 ✅
https://data.un.org/Host.aspx?Content=API 200 ✅

无残留 HTTP ✅

修改后新增行中无 http:// URL

通过 ✅ Partially fixes #103(12 个政府站点不支持 HTTPS 暂保留)

@firstdata-dev firstdata-dev merged commit 9c19ef2 into main Mar 29, 2026
5 checks passed
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.

fix: 14 个数据源文件中 18 个 URL 使用 HTTP,需逐个确认 HTTPS 可用性

2 participants