Files
MasterHttpRelayVPN-RUST/docs/changelog/v1.2.11.md
T
therealaleph 259431b44f v1.2.11: x.com URL truncation now fires for www.x.com (fix #64)
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.
2026-04-24 10:01:46 +03:00

5 lines
1.1 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- 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.