[PR #559] [MERGED] fix: rpc headers covert & typo #623

Closed
opened 2026-02-26 21:32:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/dreamhunter2333/cloudflare_temp_email/pull/559
Author: @oneisall8955
Created: 1/15/2025
Status: Merged
Merged: 1/15/2025
Merged by: @dreamhunter2333

Base: mainHead: fix/binding_worker_header_value


📝 Commits (1)

  • 13e79cd fix: rpc headers covert & typo

📊 Changes

4 files changed (+19 additions, -13 deletions)

View changed files

📝 worker/src/common.ts (+12 -3)
📝 worker/src/email/index.ts (+3 -6)
📝 worker/src/telegram_api/telegram.ts (+3 -3)
📝 worker/src/types.d.ts (+1 -1)

📄 Description

  • parsedEmailContext在commonParseMail解析后设置了parsedEmail(否则仍然会重复解析)
  • 请求头使用objectc传递(用 Map<string,string> 及 Header类,在JSON.stringify后会是{})
  • 修改telegram.ts中的typo

不使用parsedEmail中的headers主要是解析后和原样不一致,例如Message-ID,原本,解析后parsedEmail变成xxx,无法保持原数据


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/dreamhunter2333/cloudflare_temp_email/pull/559 **Author:** [@oneisall8955](https://github.com/oneisall8955) **Created:** 1/15/2025 **Status:** ✅ Merged **Merged:** 1/15/2025 **Merged by:** [@dreamhunter2333](https://github.com/dreamhunter2333) **Base:** `main` ← **Head:** `fix/binding_worker_header_value` --- ### 📝 Commits (1) - [`13e79cd`](https://github.com/dreamhunter2333/cloudflare_temp_email/commit/13e79cd8fda3d6b161b96efa4ebb26fee5bae5c0) fix: rpc headers covert & typo ### 📊 Changes **4 files changed** (+19 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `worker/src/common.ts` (+12 -3) 📝 `worker/src/email/index.ts` (+3 -6) 📝 `worker/src/telegram_api/telegram.ts` (+3 -3) 📝 `worker/src/types.d.ts` (+1 -1) </details> ### 📄 Description - parsedEmailContext在commonParseMail解析后设置了parsedEmail(否则仍然会重复解析) - 请求头使用objectc传递(用 Map<string,string> 及 Header类,在JSON.stringify后会是{}) - 修改telegram.ts中的typo -------------------- 不使用parsedEmail中的headers主要是解析后和原样不一致,例如Message-ID,原本<xxx>,解析后parsedEmail变成xxx,无法保持原数据 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 21:32:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cloudflare_temp_email#623
No description provided.