h2020-westlife-eu / virtualfolder

Virtual Folder
http://internal-wiki.west-life.eu/w/index.php?title=D6.1
MIT License
1 stars 0 forks source link

support CORS in WEBDAV links for unhosted application #87

Open TomasKulhanek opened 5 years ago

TomasKulhanek commented 5 years ago

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).