Ignore:
Timestamp:
2014-03-13T14:34:48+13:00 (10 years ago)
Author:
ak19
Message:

First security commit. 1. Introducing the new securitools.h and .cpp files, which port the functions necessary to implement security in Greenstone from OWASP-ESAPI for Java, since OWASP's C++ version is largely not yet implemented, even though their code compiles. The newly added runtime-src/packages/security which contains OWASP ESAPI for C++ will therefore be removed again shortly. 2. receptionist.cpp now sets various web-encoded variants for each cgiarg macro, such as HTML entity encoded, attr encoded, javascript encoded (and css encoded variants). These are now used in the macro files based on which variant is suited to the context. 3. This commit further contains the minimum changes to protect the c, d, and p cgi variables.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/macros/kazakh.dm

    r28751 r28888  
    5252_textdescrpref_ [l=kk] {ИкеЌЎеу}
    5353_textdescrlogin_ [l=kk] {Кіру парағы}
    54 _textdescrlogout_ [l=kk] {ЖүйеЎеМ қалай шығу  _cgiargun_}
     54_textdescrlogout_ [l=kk] {ЖүйеЎеМ қалай шығу  _cgiargunHtmlsafe_}
    5555
    5656_textdescrgreenstone_ [l=kk] {Greenstone электрПМЎық кітапÑ
     
    192192_linktextPREFERENCES_ [l=kk] {ИКЕМДЕУ}
    193193_linktextLOGIN_ [l=kk] {кіру}
    194 _linktextLOGGEDIN_ [l=kk] {(жүйеге қалай кіру _cgiargun_)}
     194_linktextLOGGEDIN_ [l=kk] {(жүйеге қалай кіру _cgiargunHtmlsafe_)}
    195195_linktextLOGOUT_ [l=kk] {шығу}
    196196
     
    351351# 'No matches for query: querystring', depending on whether or not there were
    352352# any matches
    353 _textquerytitle_ [l=kk] {_If_(_thislast_, _cgiargq_ сұраМыЌ бПйыМша ізЎеуЎің МәтОжелері: _thisfirst_ - _thislast_ , сұраМыЌ бПйыМша: _cgiargq_ ештеңе табылғаМ жПқ)}
     353_textquerytitle_ [l=kk] {_If_(_thislast_, _cgiargqHtmlsafe_ сұраМыЌ бПйыМша ізЎеуЎің МәтОжелері: _thisfirst_ - _thislast_ , сұраМыЌ бПйыМша: _cgiargqHtmlsafe_ ештеңе табылғаМ жПқ)}
    354354_textnoquerytitle_ [l=kk] {ІзЎеу парағы}
    355355
Note: See TracChangeset for help on using the changeset viewer.