@@ -180,7 +180,9 @@ char *_cleanPath( const char* uri ) {
DEBUG_WEBDAV("Unable to cleanPath %s", uri ? uri: "<zero>" );
re = NULL;
} else {
- re = ne_path_escape( path );
+ if(path) {
+ re = ne_path_escape( path );
+ }
}
SAFE_FREE( path );