Bug Fix: Gmail Links Work in Browser Mode Again
A v1.6.0 regression broke every link clicked in Gmail when FixupXer was set as the default browser — the app showed "Error processing URL" instead of cleaning the link. Gmail wraps every link in a Google redirect (google.com/url?q=<destination>), and the security validator added in v1.6.0 counted the nested destination URL as a "multiple URLs" attack and rejected the input before URL processing ever started.
The validator now recognizes legitimate Google redirect wrappers (including regional domains like google.co.uk) and lets them through — the existing redirect extraction then unwraps the real destination as before. Verified end-to-end on the emulator.
Security is not weakened:
- Only the multiple-URL check is skipped for these wrappers — all other input checks still apply.
- The exemption requires the entire input to be a single Google redirect URL; multi-URL pastes are still rejected.
- The downstream extractor only ever takes the single
url=/q=destination, so smuggled extra URLs are dropped (covered by a new regression test). - Pasting a Google redirect link into the Main screen works again too.
Technical Details
- Version Code: 32
- Unit tests: 202 / 202 passing. Instrumentation: 186 / 186 passing.
- APK SHA-256:
7AF79F246EC07032F52AB702D3A6B281B717B8862E586E8879CDF24046DA746B