Zencoder versus special characters on file names
It seems Zencoder cannot have access to content files if they have special characters on their names.
This is an example taken from production. The file name is called "ExercAnimação.mp4". When trying to send this content to Zencoder, it responds with:
Access to the file at 'https://s3.amazonaws.com/production.minutoescola.com.br/contents/videos/000/000/006/original/ExercAnimac%25CC%25A7a%25CC%2583o.mp4' was denied (HTTP 403 response code). If this is a S3 URL, you probably need to <a href="/docs/guides/getting-started/working-with-s3">grant read access to Zencoder for this bucket or file.
It seems the problem is how the special characters are being escaped when the url is generated. I've tried to upload the same video locally, but removing the special characters. The request was successful.
What's the best approach for solving this problem? I could think of the following options:
- Validations for special characters on the file name
- Automatically replacing special characters for ordinary characters
- Check Zencoder docs to see if there's a way to escape special characters on urls so we can generate the url properly
Is there any other option?