Double slashes created in path result in problems retrieving files from s3 based uploads folder

Hello,

I am trying to use AWS s3 bucket as storage for uploads - problem is that ojs seems to generate double slashes when retrieving data and double slashes don’t resolve in the s3 key value system. Any ideas how I can resolve this issue, i.e. don’t allow or remove double slashes in the path?

http://…amazonaws.com/uploads/journals/1**//**articles/3/submission/proof/3-1-11-1-10-20190225.html): failed to open stream: HTTP request failed!

best

Konrad