pimcore/admin-ui-classic-bundle

`Access-Control-Allow-Origin` in AssetController

Closed this issue · 3 comments

'Content-Type' => $thumbnail->getMimeType(),
'Access-Control-Allow-Origin', '*',

Is the above , '*' intentional? Shouldn't it be => '*'?

Have you been able to research if this code is as intended @fashxp?

By looking at
4feb431#diff-8a94426359af1cadbcb7fdeb7af5731ce2ac295a758ed07a38d36db9d5d85ff9R1261-R1262, it doesn't look intended (also incorrect line break) and should be considered as a typo instead, could you please provide a PR for it so it would be credited to you?(nevermind i was quicker 😄 )

Fixed by #689