Skip to content

Commit 9447400

Browse files
committed
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.
1 parent 0ec781f commit 9447400

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎Cargo.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mhrv-rs"
3-
version = "1.2.10"
3+
version = "1.2.11"
44
edition = "2021"
55
description = "Rust port of MasterHttpRelayVPN -- DPI bypass via Google Apps Script relay with domain fronting"
66
license = "MIT"

‎android/app/build.gradle.kts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ android {
1414
applicationId = "com.therealaleph.mhrv"
1515
minSdk = 24 // Android 7.0 — covers 99%+ of live devices.
1616
targetSdk = 34
17-
versionCode = 130
18-
versionName = "1.2.10"
17+
versionCode = 131
18+
versionName = "1.2.11"
1919

2020
// Ship all four mainstream Android ABIs:
2121
// - arm64-v8a — 95%+ of real-world Android phones since 2019

‎docs/changelog/v1.2.11.md‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<!-- see docs/changelog/v1.1.0.md for the file format: Persian, then `---`, then English. -->
2+
• رفع ‫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 بشن.
3+
---
4+
• 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.

0 commit comments

Comments
 (0)