Taragolis commented on PR #24571: URL: https://github.com/apache/airflow/pull/24571#issuecomment-1161498424
> `files` is also currently not escaped or validated, Just check and found that files actually also quoted however not validated. https://github.com/apache/airflow/blob/904cc121b83ecfaacba25433a7911a2541b2c312/airflow/providers/snowflake/transfers/s3_to_snowflake.py#L122 Single quote is a [safe to use special character](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html#object-key-guidelines-safe-characters) for S3 key/prefixes.  That mean if user has `'` in S3 key in current implementation most probably it would fail. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
