Re:D-Link Home Routers Open to Remote Takeover Will Remain U...
by kbenson on Tuesday October 08, 2019 @04:56PM
(#21197173)
Doesn't CORS generally send an OPTION request first to see if the target site even allows the requests, thus preventing this? That's what I've seen when trying to work around browser CORS limitations.
[ Parent
| on HN ]
Re:D-Link Home Routers Open to Remote Takeover Will Remain U...
by rnicholus on Tuesday October 08, 2019 @05:14PM
(#21197348)
only for ajax requests that are not "simple", that is requests that cannot be sent w/out JavaScript. The sending of this OPTIONS request is referred to as a pre-flight. A more through description at https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS