How to fix iOS 12 Safari Cors preflight error?

后端 未结 3 1703
名媛妹妹
名媛妹妹 2021-01-06 08:47

I am trying to understand CORs a little better as several users of our web app are complaining since they upgraded to iOS 12 they are receiving preflight errors.

The

3条回答
  •  忘掉有多难
    2021-01-06 09:21

    I've been fighting with this exact same issue for the last two days and just now found the solution/answer.

    It's a bug in iOSv12, but it's already fixed in iOSv12.1 beta (16B5059d), assuming the current beta code makes it into production.

    The problem is that iOSv12 WebKit preflight OPTIONS calls don't leave the device. I've run WireShark and the iOSv12 simulator to confirm this.

    Long time lurker, I made an account just to post this answer. If I broke rules/etiquette with this answer, I'm sorry.

提交回复
热议问题