kafka-connect-fs icon indicating copy to clipboard operation
kafka-connect-fs copied to clipboard

auth failed when using password which contains special character in 'fs.uris'

Open lixwen opened this issue 2 years ago • 1 comments

example: username: root password: admin@123 fs.url: sftp://root:admin%[email protected]

class: AbstractPolicy.java method: configFs(Map<String, Object> customConfigs) In this method, workingDir.toUri() wll change above uri to sftp://root:admin%[email protected]. After changing code like below, problem have solved. FileSystem fs = FileSystem.newInstance(new URI(convert(uri)), fsConfig);

lixwen avatar Oct 24 '22 06:10 lixwen

Could you submit a PR for this?

mmolimar avatar Nov 06 '22 02:11 mmolimar