Thus said Richard Hipp on Wed, 16 Jul 2014 00:05:44 -0400: > I don't know why webpages were ever callable from the command-line in > the first place. This probably has something to do with the "help" > system, but I'm busy with other things right now and don't have time > to track it down.
It does seem like they shouldn't be possible to call from the command-line. While investigating this, I did discover the "help" system you mention: fossil help /artifact which was actually quite nice because it shows the query parameters that it knows about; nifty! > I did check in a patch that prevents webpages from being called as > commands, which fixes the immediate problem. The patch works here: $ ./fossil /vpatch ./fossil: unknown command: /vpatch ./fossil: use "help" for more information $ ./fossil /info ./fossil: unknown command: /info ./fossil: use "help" for more information > But it seems like a hack. It's less of a hack than what I was considering until I saw your email. Conincidently, I had actually just started looking at line 660 in main.c when you sent this email, but I'm new to this part of the code (except for basic understanding on how it routes to the various command functions). :-) Thanks for the quick patch. Andy -- TAI64 timestamp: 4000000053c5ffcc _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users