CORS policy on cached Image

前端 未结 3 1811
执笔经年
执笔经年 2021-01-31 02:05

In chrome 22 & safari 6.

Loading images from s3 for usage in a canvas (with extraction as a primary intent) using a CORS enabled S3 bucket, with the following code:<

3条回答
  •  感情败类
    2021-01-31 02:31

    What CORS settings are you applying? This post suggests that wildcards in AllowedOrigin are parsed (rather then being sent verbatim, this appears to be undocumented behaviour); and the Access-Control-Allow-Origin header value is then cached for subsequent requests, causing issues similar to what you're reporting.

提交回复
热议问题