mirror of
https://github.com/therealaleph/MasterHttpRelayVPN-RUST.git
synced 2026-05-18 23:54:48 +03:00
259431b44f
Single-bug release. Unblocks x.com browsing for users whose browsers resolve to www.x.com rather than bare x.com — i.e. essentially everyone using Firefox / Chrome / Safari. Previous releases still advertised the URL-truncation fix as working but it only matched exact Host: x.com, which never happens in real traffic. v1.2.11 widens the matcher to x.com + *.x.com so www.x.com, api.x.com, and any future x.com subdomain all get the shortened URL through Apps Script's URL length cap.
5 lines
1.1 KiB
Markdown
5 lines
1.1 KiB
Markdown
<!-- see docs/changelog/v1.1.0.md for the file format: Persian, then `---`, then English. -->
|
||
• رفع x.com (issue #64): پچ URL truncation که در v1.2.1 اضافه شده بود فقط host == "x.com" رو مطابقت میداد، ولی مرورگرها واقعاً به `www.x.com` و `api.x.com` میرن. برای همین truncation هیچوقت برای ترافیک واقعی کاربر اجرا نمیشد و Apps Script با خطای «بیش از حد مجاز: طول نشانی وب URLFetch» جواب میداد. host matcher گسترده شد به `x.com` + هر subdomain` تا www.x.com / api.x.com و آینده همه rewrite بشن.
|
||
---
|
||
• x.com fix (issue #64): the URL-truncation patch added in v1.2.1 only matched exact host `x.com`, but browsers actually hit `www.x.com` (and `api.x.com` also serves GraphQL endpoints). The truncation never fired for real-world traffic and Apps Script kept rejecting with "URLFetch URL length exceeded." Host matcher now widened to `x.com || *.x.com`, catching every subdomain the URL pattern would apply to.
|