Beoordelingen voor CORS Everywhere
CORS Everywhere door spenibus
Beoordeling door Firefox-gebruiker 14504206
Waardering: 4 van 5
door Firefox-gebruiker 14504206, 7 jaar geledenwhat's the difference between 'Force value of "access-control-allow-origin" ' option and 'Activation whitelist' option? I don't understand, i think both are the same, right.
Antwoord van ontwikkelaar
7 jaar geleden geplaatstThe first option forces the value of the "origin" request header which will also become the value of the "access-control-allow-origin" response header. It's useless for most people and only there for testing purposes.
The whitelist defines which values of "origin" are allowed to bypass CORS when the addon is active. It's a list of fully qualified regular expressions, with delimiters and flags, separated by newlines.
See also this: https://github.com/spenibus/cors-everywhere-firefox-addon/issues/23#issuecomment-447669576
The whitelist defines which values of "origin" are allowed to bypass CORS when the addon is active. It's a list of fully qualified regular expressions, with delimiters and flags, separated by newlines.
See also this: https://github.com/spenibus/cors-everywhere-firefox-addon/issues/23#issuecomment-447669576