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

    r28524 r28888  
    5858_textdescrpref_ [l=fr] {Page de préférences}
    5959_textdescrlogin_ [l=fr] {Page de connexion}
    60 _textdescrlogout_ [l=fr] {Deconnexion de _cgiargun_}
     60_textdescrlogout_ [l=fr] {Deconnexion de _cgiargunHtmlsafe_}
    6161
    6262_textdescrgreenstone_ [l=fr] {Logiciel de BibliothÚque Numérique Greenstone}
     
    198198_linktextPREFERENCES_ [l=fr] {PRÉFÉRENCES}
    199199_linktextLOGIN_ [l=fr] {LOGIN}
    200 _linktextLOGGEDIN_ [l=fr] {(connecté comme _cgiargun_)}
     200_linktextLOGGEDIN_ [l=fr] {(connecté comme _cgiargunHtmlsafe_)}
    201201_linktextLOGOUT_ [l=fr] {DECONNEXION}
    202202
     
    363363# 'No matches for query: querystring', depending on whether or not there were
    364364# any matches
    365 _textquerytitle_ [l=fr] {_If_(_thislast_,resultats _thisfirst_ - _thislast_ pour la recherche: _cgiargq_,Pas de documents contenant: _cgiargq_)}
     365_textquerytitle_ [l=fr] {_If_(_thislast_,resultats _thisfirst_ - _thislast_ pour la recherche: _cgiargqHtmlsafe_,Pas de documents contenant: _cgiargqHtmlsafe_)}
    366366_textnoquerytitle_ [l=fr] {Page de recherche}
    367367
Note: See TracChangeset for help on using the changeset viewer.