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:
@@ -65,7 +65,7 @@ FUNCTION HRBMAIN()
|
||||
|
||||
hGets := _REQUEST
|
||||
|
||||
DEFAULT hGets TO { => }
|
||||
hb_default( @hGets, { => } )
|
||||
|
||||
IF hb_HHasKey( hGets, "page" )
|
||||
|
||||
@@ -116,7 +116,7 @@ FUNCTION HRBMAIN()
|
||||
|
||||
uhttpd_SetHeader( "Content-Type", "text/xml" )
|
||||
uhttpd_Write( '<?xml version="1.0" encoding="ISO-8859-1"?>' )
|
||||
uhttpd_Write( '<pages><page>No Data</page></pages>' )
|
||||
uhttpd_Write( "<pages><page>No Data</page></pages>" )
|
||||
|
||||
ENDIF
|
||||
|
||||
@@ -353,7 +353,7 @@ METHOD xmlEncode( input ) CLASS TableManager
|
||||
FOR i := 1 TO Len( input )
|
||||
c := SubStr( input, i, 1 )
|
||||
SWITCH c
|
||||
CASE '&'
|
||||
CASE "&"
|
||||
out += "&"
|
||||
EXIT
|
||||
CASE "'"
|
||||
@@ -362,14 +362,14 @@ METHOD xmlEncode( input ) CLASS TableManager
|
||||
CASE '"'
|
||||
out += """
|
||||
EXIT
|
||||
CASE '<'
|
||||
CASE "<"
|
||||
out += "<"
|
||||
EXIT
|
||||
CASE '>'
|
||||
CASE ">"
|
||||
out += ">"
|
||||
EXIT
|
||||
#if 0
|
||||
CASE ' '
|
||||
CASE " "
|
||||
out += " "
|
||||
EXIT
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user