Unverified Commit fc7161a2 authored by Sebastian Schüpbach's avatar Sebastian Schüpbach
Browse files

Revert "escape whitespaces in filename"

This reverts commit abfc640f

Signed-off-by: Sebastian Schüpbach's avatarSebastian Schüpbach <sebastian.schuepbach@unibas.ch>
parent 37a4852b
Pipeline #18398 passed with stages
in 4 minutes and 15 seconds
......@@ -454,8 +454,7 @@ class KafkaTopology(private val settings: SettingsLoader) {
originalIdentifierValue: String
): String? {
for (extension in fileExtensions) {
val filePath =
"$sftpBasePath/$recordSetId/$type/${originalIdentifierValue.replace(" ", "\\\\ ")}.$extension"
val filePath = "$sftpBasePath/$recordSetId/$type/$originalIdentifierValue.$extension"
if (sftpClient.exists(filePath)) {
return "${Constant.sftpPathPrefix}$filePath"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment