Closed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest versions of Parse Server and the Parse JS SDK.
Issue Description
Latest Parse SDK (v4.3.1) from "localhost:4200" raise systematically a chrome error Refused to get unsafe header "access-control-expose-headers"
when using Cloud.run(...)
against a Parse-Server also hosted on localhost.
Issue does not exist with Parse SDK v4.3.0.
Steps to reproduce
Launch a Parse-Server (last version >= v6.4.0).
Use Chrome (or Brave) to make a call to Parse-Server, using the Parse SDK v4.3.1 with the Cloud.run(...) function.
Actual Outcome
Raise a Chrome error Refused to get unsafe header "access-control-expose-headers"
for each call using Cloud.run(...)
Expected Outcome
No error as v4.3.0
Environment
NodeJS >= 18
Server
- Parse Server version:
v6.4.0
- Operating system:
Windows 10
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
Local
Database
- System (MongoDB or Postgres):
Postgres
- Database version:
15.x
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
Local
Client
- Parse JS SDK version:
4.3.1