add some references to issues webdav

Sun, 01 Nov 2020 08:24:21 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Sun, 01 Nov 2020 08:24:21 +0100
branch
webdav
changeset 261
f2c772336ecd
parent 260
4779a6fb4fbe
child 262
c459019a3ed3

add some references to issues

src/server/daemon/acl.c file | annotate | diff | comparison | revisions
src/server/daemon/httprequest.c file | annotate | diff | comparison | revisions
src/server/daemon/keyfile_auth.c file | annotate | diff | comparison | revisions
src/server/util/object.c file | annotate | diff | comparison | revisions
--- a/src/server/daemon/acl.c	Sat Oct 24 17:34:32 2020 +0200
+++ b/src/server/daemon/acl.c	Sun Nov 01 08:24:21 2020 +0100
@@ -100,7 +100,7 @@
 }
 
 User* acllist_getuser(Session *sn, Request *rq, ACLListHandle *list) {
-    // TODO: cache result
+    // TODO: cache result #50
     if(!sn || !rq || !list) {
         return NULL;
     }
@@ -179,7 +179,7 @@
     ACLList *acl = acl_evallist(list, user, access_mask, NULL);
     if(acl) {
         acl_set_error_status(sn, rq, acl, user);
-        // TODO: don't free the user here
+        // TODO: don't free the user here #51
         if(user) {
             user->free(user);
         }
--- a/src/server/daemon/httprequest.c	Sat Oct 24 17:34:32 2020 +0200
+++ b/src/server/daemon/httprequest.c	Sun Nov 01 08:24:21 2020 +0100
@@ -229,13 +229,13 @@
     /*
      * get absolute path and query of the request uri
      */
-    // TODO: check for '#'
+    // TODO: check for '#' #72
     sstr_t absPath = http_request_get_abspath(request);
     if(!absPath.ptr) {
         // TODO: error msg
         return 1;
     } else if(absPath.ptr[0] == '*') {
-        // TODO: implement global OPTIONS
+        // TODO: implement global OPTIONS #71
         return 1;
     }
     
--- a/src/server/daemon/keyfile_auth.c	Sat Oct 24 17:34:32 2020 +0200
+++ b/src/server/daemon/keyfile_auth.c	Sun Nov 01 08:24:21 2020 +0100
@@ -93,7 +93,7 @@
             return -1;
         }
         for(int i=0;i<ngroups;i++) {
-            user->groups[i] = sstrdup(groups[i]);
+            user->groups[i] = sstrdup_a(a, groups[i]);
         }
         
     } else {
--- a/src/server/util/object.c	Sat Oct 24 17:34:32 2020 +0200
+++ b/src/server/util/object.c	Sun Nov 01 08:24:21 2020 +0100
@@ -38,7 +38,6 @@
 
 
 httpd_object* object_new(pool_handle_t *pool, char *name) {
-    // TODO: Speicherverwaltung
     httpd_object *obj = pool_malloc(pool, sizeof(httpd_object));
     obj->pool = pool;
     obj->name = name;

mercurial