I seem to be thick as a brick today, but I found the --nocgi but can't seem to use it... ....a bit later after looking at the sources... Ahhh... it's only parsed if GATEWAY_INTERFACE is in the environment!
I would argue that line 601 should use & instead of && - principle of least surprise. It appears that `unset GATEWAY_INTERFACE` is a more robust way to deal with it in the meantime (and you have to unset it... not just set it to ''). Last question for a while: in clone.c line 104 it says to use %40, %2f and %3a for special characters in the userid and password (for obvious reasons). Are there any other restrictions on the repo name or other parts of the URL? Thanks ../Dave On 28 September 2017 at 09:53, Roy Keene <fos...@rkeene.org> wrote: > On Thu, 28 Sep 2017, Mark Janssen wrote: > > >> >> On 28 Sep 2017 13:37, "David Mason" <dma...@ryerson.ca> wrote: >> >> >>> I have all the logic I need.... I just want fossil to behave like it >>> would at a terminal prompt, rather than acting like a CGI... the >>> complication is that I am calling it from a CGI! But removing all the >>> environment >>> variable mostly solves the problem. >>> >>> >> To get the commandline behavior of fossil in a CGI context use the >> --nocgi flag. >> >> >> >> > For what it's worth, this is how Flint (which powers ChiselApp.com) does > it: > > http://chiselapp.com/user/rkeene/repository/flint/artifact? > ln=33-37&name=1eb0582d234199bc > > _______________________________________________ > fossil-users mailing list > fossil-users@lists.fossil-scm.org > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users > >
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users