diff --git a/Cargo.toml b/Cargo.toml index e517f6d..1958f0f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mhrv-rs" -version = "1.2.10" +version = "1.2.11" edition = "2021" description = "Rust port of MasterHttpRelayVPN -- DPI bypass via Google Apps Script relay with domain fronting" license = "MIT" diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts index 71da238..1056f29 100644 --- a/android/app/build.gradle.kts +++ b/android/app/build.gradle.kts @@ -14,8 +14,8 @@ android { applicationId = "com.therealaleph.mhrv" minSdk = 24 // Android 7.0 — covers 99%+ of live devices. targetSdk = 34 - versionCode = 130 - versionName = "1.2.10" + versionCode = 131 + versionName = "1.2.11" // Ship all four mainstream Android ABIs: // - arm64-v8a — 95%+ of real-world Android phones since 2019 diff --git a/docs/changelog/v1.2.11.md b/docs/changelog/v1.2.11.md new file mode 100644 index 0000000..f7d2a2c --- /dev/null +++ b/docs/changelog/v1.2.11.md @@ -0,0 +1,4 @@ + +• رفع ‫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.