Skip to content

Commit 68b54c0

Browse files
committed
fix: request param space filtering problem
1 parent 4c70113 commit 68b54c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

laravel/app/Http/Repository/MultithreadingRepository.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ public function syncRequest($url, $appkey)
242242
continue;
243243
}
244244
$str = (is_object($vv)) ? trim($vv->__toString()) : trim($vv);
245-
$temp[$this->dataSet['param'][$kk]] = str_replace(["\n", "\r\n", " "], '', $str);
245+
$temp[$this->dataSet['param'][$kk]] = trim(str_replace(["\n", "\r\n"], '', $str));
246246
}
247247
if ($temp) {
248248
$newData[] = $temp;

0 commit comments

Comments
 (0)