Branch: Tag:

2018-04-05

2018-04-05 13:05:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Filesystem [WebDAV]: Don't encode the paths to {,un}register_lock().

Potential fix for [WS-246].

479:    "<h1>Permission to 'LOCK' files denied</h1>",    id);    } -  register_lock(encode_path(path), lock, id); +  register_lock(path, lock, id);    return 0;   }   
494:    "<h1>Permission to 'UNLOCK' files denied</h1>",    id);    } -  unregister_lock(encode_path(path), lock, id); +  unregister_lock(path, lock, id);    return 0;   }