Differences From:
File
src/manifest.c
part of check-in
[6d58613757]
- Timeline comments are now rendered as wiki. Wiki changes appear on
the timeline.
by
drh on
2007-10-06 16:37:39.
[view]
To:
File
src/manifest.c
part of check-in
[488afb9746]
- Enforce well-formedness constraints on wiki pagenames.
by
drh on
2007-10-06 17:10:47.
[view]
@@ -371,8 +371,11 @@
if( blob_token(&line, &a1)==0 ) goto manifest_syntax_error;
if( blob_token(&line, &a2)!=0 ) goto manifest_syntax_error;
p->zWikiTitle = blob_terminate(&a1);
defossilize(p->zWikiTitle);
+ if( !wiki_name_is_wellformed(p->zWikiTitle) ){
+ goto manifest_syntax_error;
+ }
break;
}
/*