cryptomator / webdav-nio-adapter

Jackrabbit-based servlets running on embedded Jetty to serve a directory specified by a java.nio.file.Path
GNU Affero General Public License v3.0
12 stars 8 forks source link

Support OneDrives File on Demand feature #15

Closed overheadhunter closed 6 years ago

overheadhunter commented 6 years ago

Files.isRegularFile(...) returns false for such files, effectively disabling support for OneDrive's File on Demand, because we use it to check if the masterkey is present.

Therefore we must remove any use of Files.isRegularFile(...)