Cannot remove response headers (Access-Control-Allow-Origin)

Hi Luan,

Thanks for your great support! :kissing_heart::kissing_heart::kissing_heart: The issue was disappeared and I can remove response header with middleware successfully when removing first slash of API path as you mentioned above.

But could you please share me what’s the root cause of this issue? is there a document that mentioned this issue?

Thanks,
Toan Do

Hi Toan,

It seems to be a bug at the moment since it only happens for the Modify Headers plugin, I’ve opened a GH issue that you can follow here Modify Headers plugin fails if path is named with preceding slash · Issue #1452 · TykTechnologies/tyk · GitHub :slight_smile:

Thanks,
Luan

1 Like

Thanks Luan so much!