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

Server crashes when processing MKCOL requests with If header #102

Open
eight04 opened this issue Sep 7, 2021 · 0 comments
Open

Server crashes when processing MKCOL requests with If header #102

eight04 opened this issue Sep 7, 2021 · 0 comments

Comments

@eight04
Copy link

eight04 commented Sep 7, 2021

C:\Users\eight04\dev\node-test\node_modules\webdav-server\lib\server\v2\RequestContext.js:248
            resource = fs.resource(this, path);
                          ^

TypeError: Cannot read property 'resource' of null
    at HTTPRequestContext.checkIfHeader (C:\Users\eight04\dev\node-test\node_modules\webdav-server\lib\server\v2\RequestContext.js:248:27)
    at C:\Users\eight04\dev\node-test\node_modules\webdav-server\lib\server\v2\commands\Mkcol.js:11:17
    at HTTPRequestContext.noBodyExpected (C:\Users\eight04\dev\node-test\node_modules\webdav-server\lib\server\v2\RequestContext.js:234:13)
    at default_1.unchunked (C:\Users\eight04\dev\node-test\node_modules\webdav-server\lib\server\v2\commands\Mkcol.js:10:13)
    at C:\Users\eight04\dev\node-test\node_modules\webdav-server\lib\server\v2\webDAVServer\StartStop.js:28:28
    at processTicksAndRejections (node:internal/process/task_queues:76:11)

STR:

  1. Lock a folder.
  2. Create a sub-folder inside the locked folder.
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