nelmio/NelmioCorsBundle

Firefox expose_headers

ndoulgeridis opened this issue · 0 comments

Only on Firefox, Chrome works fine, when I use:

expose_headers: ['*']

xhr.getAllResponseHeaders() does not return all headers even if on network tab I see them fine... I see only Cache-Contro and Content-Type.

I have to exclusivelly name every custom header in expose_headers: ['custom-1', 'custom-2'] ... to work in Firefox.

Is there a workaround? Anyone knows why this is happening?

Firefox version: 68.0.1