On Thu, Aug 15, 2013 at 5:23 AM, Stephan Beal <[email protected]> wrote:

> On Thu, Aug 15, 2013 at 5:20 AM, Richard Hipp <[email protected]> wrote:
>
>> Please comment out the two lines
>> http://www.fossil-scm.org/fossil/artifact/d5c75ddae5?ln=846-847 and then
>> send me the output of the "test_env" webpage.  Tnx.
>>
>
Commenting out those lines seems to have resolved it. test_env says nothing
sensitive:

uid=###, gid=###
g.zBaseURL = http://fossil.wanderinghorse.net/repos/whio/index.cgi
g.zTop = /repos/whio/index.cgi
g.userUid = 1
g.zLogin = stephan
g.isHuman = 1
capabilities = abcdefghijklmnopqrstwz
------------------------------
HTTP_HOST = fossil.wanderinghorse.net
HTTP_USER_AGENT = Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36
(KHTML, like Gecko) Chrome/29.0.1547.41 Safari/537.36
PATH_INFO = /test_env
QUERY_STRING =
REMOTE_ADDR = 85.181.15.30
REQUEST_URI = /repos/whio/index.cgi/test_env
SCRIPT_NAME = /repos/whio/index.cgi


This page was generated in about 0.015s by Fossil version [e412f97999]
2013-08-15 02:59:29


[email protected] [~/cvs/fossil/fossil]# fst
repository:   /home1/wanderi1/cvs/fossil/fossil.fsl
local-root:   /home1/wanderi1/cvs/fossil/fossil/
config-db:    /home1/wanderi1/.fossil
checkout:     e412f97999fb69fe1cdcd81f0f9aa72ea0cb4b95 2013-08-15 02:59:29
UTC
parent:       80bf17c0d018926ec38d61daa13ca8c7d64a0608 2013-08-15 00:37:51
UTC
tags:         trunk
comment:      Rig the timeline graph so that CSS of the form:
              "#canvas{color:#000;}" will set the color of the graph lines
and
              boxes. (user: drh)
EDITED     src/cgi.c
[email protected] [~/cvs/fossil/fossil]# date
Wed Aug 14 21:27:40 MDT 2013
[email protected] [~/cvs/fossil/fossil]# f diff
Index: src/cgi.c
==================================================================
--- src/cgi.c
+++ src/cgi.c
@@ -841,12 +841,13 @@
     for(i=0; zRequestUri[i]==zScriptName[i] && zRequestUri[i]; i++){}
     if( zRequestUri[i]=='/' ){
       for(j=i; zRequestUri[j] && zRequestUri[j]!='?'; j++){}
       cgi_set_parameter("PATH_INFO", mprintf("%.*s", j-i, zRequestUri+i));
     }else{
-      malformed_request("cannot compute PATH_INFO from REQUEST_URI"
+            /*      malformed_request("cannot compute PATH_INFO from
REQUEST_URI"
                         " and SCRIPT_NAME");
+            */
     }
   }

   z = (char*)P("HTTP_COOKIE");
   if( z ){


-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to