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/slovak.dm

    r28840 r28888  
    7171_textdescrpref_ [l=sk] {Nastavenia}
    7272_textdescrlogin_ [l=sk] {Prihlasovacia stránka}
    73 _textdescrlogout_ [l=sk] {OdhlásiÅ¥ sa ako _cgiargun_}
     73_textdescrlogout_ [l=sk] {OdhlásiÅ¥ sa ako _cgiargunHtmlsafe_}
    7474
    7575_textdescrgreenstone_ [l=sk] {Softvér digitálnej knişnice Greenstone}
     
    210210_linktextPREFERENCES_ [l=sk] {NASTAVENIA}
    211211_linktextLOGIN_ [l=sk] {PRIHLÁSIŀ SA}
    212 _linktextLOGGEDIN_ [l=sk] {(prihlásenÃœ ako _cgiargun_)}
     212_linktextLOGGEDIN_ [l=sk] {(prihlásenÃœ ako _cgiargunHtmlsafe_)}
    213213_linktextLOGOUT_ [l=sk] {ODHLÁSIŀ SA}
    214214
     
    359359# 'No matches for query: querystring', depending on whether or not there were
    360360# any matches
    361 _textquerytitle_ [l=sk] {_If_(_thislast_,vÃœsledky _thisfirst_ - _thislast_ na dotaz: _cgiargq_,Åœiadne vÃœsledky: _cgiargq_)}
     361_textquerytitle_ [l=sk] {_If_(_thislast_,vÃœsledky _thisfirst_ - _thislast_ na dotaz: _cgiargqHtmlsafe_,Åœiadne vÃœsledky: _cgiargqHtmlsafe_)}
    362362_textnoquerytitle_ [l=sk] {Vyhğadávacia strana}
    363363
Note: See TracChangeset for help on using the changeset viewer.