0

I'm uploading directly to S3 with FOG and a file has some special characters..

But when i try to

FOG_STORAGE.directories.get(AWS_BUCKET_TEMP).files.get(file_name)

it doesnt get the file =I

I debugged and found that:

file_name == "uploads/9d3229932694e3e71ffec98b4d7e9dd2/sóftwáred[efdv.txt" 
 => false

But when i print file_name, it gives me the exactly same string

uploads/9d3229932694e3e71ffec98b4d7e9dd2/sóftwáred[efdv.txt

How is that possible?

Neil Slater
  • 26,512
  • 6
  • 76
  • 94
felipepastorelima
  • 947
  • 1
  • 10
  • 23

0 Answers0