Address review: trace request size and contact-share translation
- Manual path trace validates the request that will actually be sent (round trips become 2n-1 hops, 3-byte hops go out as 4-byte prefixes) against the 172-byte frame and 64-hop firmware limits, and disables Run with an explanation when it does not fit. PathTraceMapScreen also refuses to send an oversized request. - Contact-share tokens are never passed through message translation, so the share cannot be mangled before sending.
This commit is contained in:
1 parent
c939f7a29c
commit
80ead2fc2d
45 files changed
+210
-2
No files matched your search
@@ -2753,6 +2753,10 @@ class AppLocalizationsZh extends AppLocalizations {
|
||||
return '路径过长(最多 $max 字节)';
|
||||
}
|
||||
|
||||
@override
|
||||
String get manualTrace_errorTraceTooLong =>
|
||||
'跳数过多,无法在一次请求中追踪。请减少一些跳,或选择“按输入顺序”。';
|
||||
|
||||
@override
|
||||
String get mapCache_title => '离线地图缓存';
|
||||
|
||||
|
||||
Reference in new issue
Block a user