Skip to content
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

support CORS in WEBDAV links for unhosted application #87

Open
2 tasks
TomasKulhanek opened this issue Apr 4, 2019 · 0 comments
Open
2 tasks

support CORS in WEBDAV links for unhosted application #87

TomasKulhanek opened this issue Apr 4, 2019 · 0 comments
Assignees

Comments

@TomasKulhanek
Copy link
Member

TomasKulhanek commented Apr 4, 2019

Pure web application without backend requires CORS to be enabled by third party web services. In order to connect VF to this kind of application, this needs to be enabled e.g. for WEBDAV links generated by VF. Current WEBDAV doesn't return Acess-Control-Allow-Origin = * causing any javascript client fail on
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://webdav.pcloud.com/. (Reason: CORS preflight channel did not succeed).

  • either allow origin from all
  • or make user configurable Access-Control-Allow-Origin header for specific VF WEBDAV dir link
@TomasKulhanek TomasKulhanek self-assigned this Apr 4, 2019
@TomasKulhanek TomasKulhanek changed the title WEBDAV support CORS for unhosted application support CORS in WEBDAV links for unhosted application Apr 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant