-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: cors plugin return repeated cross-domain header #1704
Comments
If we want to remove the duplicate header, should we keep the upstream or the newly set value of the plugin? |
@ShiningRush please take a look. Myabe we can overwrite the headers from upstream? |
default value is false or ture for |
I think |
After I talk with @membphis , I remove the option of |
ok, got it. we can close this issue now. |
Issue description
When the backend also returns cross-domain headers, using cors plugin will cause duplicate cross-domain headers
for example:
backend code set header:
Environment
apisix version
): 1.2What's the expected result?
remove duplicate headers
The text was updated successfully, but these errors were encountered: