2012-11-08 16:02 UTC+0100 Viktor Szakats (harbour syenar.net)
* contrib/hbmysql/tmysql.prg
* contrib/hbnf/tests/test.prg
* contrib/hbtip/cgi.prg
* contrib/hbtip/tests/base64.prg
* contrib/hbtip/tests/dbtohtml.prg
* contrib/hbtip/tests/ftpadv.prg
* contrib/hbtip/tests/httpadv.prg
* contrib/hbtip/tests/tiptest.prg
* contrib/hbtip/thtml.prg
* contrib/rddads/tests/testmg.prg
* extras/gfspell/spell.prg
* extras/hbvpdf/hbvpdf.prg
* extras/httpsrv/cgifunc.prg
* extras/httpsrv/modules/tableservletdb.prg
* extras/httpsrv/session.prg
* extras/httpsrv/uhttpd.prg
* utils/hbmk2/hbmk2.prg
* minor cleanups
* contrib/xhb/*.ch
* formatted .ch files
! fixed SETLASTKEY() to be HB_SETLASTKEY() in xhb
* contrib/hbtinymt/3rd/tinymt/tinymt.hbp
- contrib/hbtinymt/3rd/tinymt/tinymt.hbx
! deleted .hbx file for 3rd lib and fixed not to generate it
* extras/httpsrv/modules/tableservletdb.prg
! DEFAULT TO -> hb_default()
This commit is contained in:
@@ -1239,7 +1239,7 @@ STATIC FUNCTION ParseRequest( cRequest )
|
||||
// hb_toOutDebug( "GET: cFields = %s, hVars = %s, _GET = %s, _REQUEST = %s\n\r", cFields, hb_ValToExp( hVars ), hb_ValToExp( _GET ), hb_ValToExp( _REQUEST ) )
|
||||
|
||||
// POST
|
||||
IF "POST" $ Upper( _SERVER[ 'REQUEST_METHOD' ] )
|
||||
IF "POST" $ Upper( _SERVER[ "REQUEST_METHOD" ] )
|
||||
cFields := ATail( aRequest )
|
||||
IF ! Empty( cFields )
|
||||
hVars := uhttpd_GetVars( cFields )
|
||||
@@ -1252,7 +1252,7 @@ STATIC FUNCTION ParseRequest( cRequest )
|
||||
// hb_toOutDebug( "POST: cFields = %s, hVars = %s, _POST = %s, _REQUEST = %s\n\r", cFields, hb_ValToExp( hVars ), hb_ValToExp( _POST ), hb_ValToExp( _REQUEST ) )
|
||||
|
||||
// COOKIES
|
||||
cFields := _SERVER[ 'HTTP_COOKIE' ]
|
||||
cFields := _SERVER[ "HTTP_COOKIE" ]
|
||||
IF ! Empty( cFields )
|
||||
hVars := uhttpd_GetVars( cFields, ";" )
|
||||
hb_HMerge( _COOKIE, hVars )
|
||||
@@ -1450,7 +1450,7 @@ STATIC PROCEDURE WriteToLog( cRequest )
|
||||
|
||||
cAccess := _SERVER[ "REMOTE_ADDR" ] + " - - [" + Right( cDate, 2 ) + "/" + ;
|
||||
aMonths[ Val( SubStr( cDate, 5, 2 ) ) ] + ;
|
||||
"/" + Left( cDate, 4 ) + ":" + cTime + ' ' + cBias + '] "' + ;
|
||||
"/" + Left( cDate, 4 ) + ":" + cTime + " " + cBias + '] "' + ;
|
||||
Left( cRequest, At( CR_LF, cRequest ) - 1 ) + '" ' + ;
|
||||
hb_ntos( t_nStatusCode ) + " " + iif( nSize == 0, "-", hb_ntos( nSize ) ) + ;
|
||||
' "' + iif( Empty( cReferer ), "-", cReferer ) + '" "' + _SERVER[ "HTTP_USER_AGENT" ] + ;
|
||||
|
||||
Reference in New Issue
Block a user