mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-11-04 10:47:32 +00:00
* multiplatform: trim pasted migration link before reading its network config MigrateToDevice.checkUserLink checked link.trim() and stored link.trim() in every MigrationToState payload, but passed the raw link to MigrationFileLinkData.readFromLink. A migration link pasted (or scanned) with leading whitespace, or with trailing non-ASCII whitespace such as a no- break space, passed the check but its "/_download info" request failed to parse or returned no network settings, so readFromLink returned null and the link's network settings were silently dropped: "Confirm network settings" was skipped, the archive downloaded without the link's SOCKS proxy, and the proxy stayed off after migration. Compute the trimmed link once and use it throughout, so classification and consumption see the same string. * plans: migration link trim * plans: migration link trim: text after the link, proxy-less download * plans: migration link trim: exact trim coverage, settings-read reporting * plans: migration link trim: shadowing reason, trim coverage, wording * plans: migration link trim: title scope, NBSP bytes, tab, review reason * plans: migration link trim: title precision, line-break case, rejections * plans: migration link trim: line break inside desc gives a visible error * plans: migration link trim: exact alert title