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

    r23636 r28888  
    5454_textdescrpref_ [l=it] {Impostazioni}
    5555_textdescrlogin_ [l=it] {Pagina login} 
    56 _textdescrlogout_ [l=it] {Uscire come_cgiargun_} 
     56_textdescrlogout_ [l=it] {Uscire come _cgiargunHtmlsafe_} 
    5757
    5858_textdescrgreenstone_ [l=it] {Greenstone Digital Library Software}
     
    193193_linktextPREFERENCES_ [l=it] {IMPOSTAZIONI}
    194194_linktextLOGIN_ [l=it] {LOGIN} 
    195 _linktextLOGGEDIN_ [l=it] {(connesso come_cgiargun)} 
     195_linktextLOGGEDIN_ [l=it] {(connesso come _cgiargunHtmlsafe_)} 
    196196_linktextLOGOUT_ [l=it] {USCIRE} 
    197197
     
    341341# 'No matches for query: querystring', depending on whether or not there were
    342342# any matches
    343 _textquerytitle_ [l=it] {_If_(_thislast_,risultati _thisfirst_ - _thislast_ della ricerca: _cgiargq_,Nessun risultato della ricerca: _cgiargq_)}
     343_textquerytitle_ [l=it] {_If_(_thislast_,risultati _thisfirst_ - _thislast_ della ricerca: _cgiargqHtmlsafe_,Nessun risultato della ricerca: _cgiargqHtmlsafe_)}
    344344_textnoquerytitle_ [l=it] {Pagina di ricerca}
    345345
Note: See TracChangeset for help on using the changeset viewer.