Diff
Not logged in

Differences From:

File src/manifest.c part of check-in [70d5cc86b7] - Add the shun table. Do not process artifacts named in the shun table. by drh on 2007-10-05 13:47:00. [view]

To:

File src/manifest.c part of check-in [bf428e6854] - Now able to enter and edit and display wiki pages. Still many problems to be resolved. by drh on 2007-10-06 13:13:33. [view]

@@ -542,8 +542,9 @@
         if( blob_extract(pContent, size+1, &wiki)!=size+1 ){
           goto manifest_syntax_error;
         }
         p->zWiki = blob_buffer(&wiki);
+        md5sum_step_text(p->zWiki, size+1);
         if( p->zWiki[size]!='\n' ) goto manifest_syntax_error;
         p->zWiki[size] = 0;
         break;
       }
@@ -621,9 +622,8 @@
     if( p->zRepoCksum!=0 ) goto manifest_syntax_error;
     if( p->nCChild>0 ) goto manifest_syntax_error;
     if( p->nTag>0 ) goto manifest_syntax_error;
     if( p->zTicketUuid!=0 ) goto manifest_syntax_error;
-    if( p->zUser==0 ) goto manifest_syntax_error;
     if( p->zWikiTitle==0 ) goto manifest_syntax_error;
     if( !seenZ ) goto manifest_syntax_error;
     p->type = CFTYPE_WIKI;
   }else if( p->nTag>0 ){