Skip to content

Commit

Permalink
Trimmed document filename
Browse files Browse the repository at this point in the history
  • Loading branch information
jekuaitk committed Dec 19, 2024
1 parent 94a558c commit 59eca06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Service/Documents.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public function AddToDocumentLibrary(string $filePath, string $caseId, string $f
$fileName = preg_replace('@[<>:"/\\\\|?*]@', '_', $fileName);

// Normalize white space.
$fileName = preg_replace('/[[:space:]]/', ' ', $fileName);
$fileName = preg_replace('/[[:space:]]/', ' ', trim($fileName));

$result = $this->getData(
'POST',
Expand Down

0 comments on commit 59eca06

Please sign in to comment.