Files
Narasimha-sc c328887e82 multiplatform: trim pasted migration link before reading its network config
MigrateToDevice.checkUserLink gated on link.trim() and stored link.trim() in
every MigrationToState payload, but passed the raw, untrimmed link to
MigrationFileLinkData.readFromLink. A migration link pasted (or scanned) with
leading whitespace therefore passed the gate, then failed the "/_download info"
parse in the core, so readFromLink returned null and the link's network
configuration was silently dropped: the onion screen was skipped and migration
proceeded with the device's own host modes instead of the link's.

Compute the trimmed link once and use it throughout, so classification and
consumption see the same string.
2026-07-20 16:29:02 +00:00
..