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

    r23675 r28888  
    5353_textdescrpref_ [l=vi] {Thuộc tính}
    5454_textdescrlogin_ [l=vi] {Trang đăng nhập} 
    55 _textdescrlogout_ [l=vi] {Đăng nhập nhÆ° _cgiargun_} 
     55_textdescrlogout_ [l=vi] {Đăng nhập nhÆ° _cgiargunHtmlsafe_} 
    5656
    5757_textdescrgreenstone_ [l=vi] {Phần mềm thư viện số Greenstone}
     
    192192_linktextPREFERENCES_ [l=vi] {Thuộc tính}
    193193_linktextLOGIN_ [l=vi] {ĐĂNG NHẬP} 
    194 _linktextLOGGEDIN_ [l=vi] {(đăng nhập nhÆ° _cgiargun_)} 
     194_linktextLOGGEDIN_ [l=vi] {(đăng nhập nhÆ° _cgiargunHtmlsafe_)} 
    195195_linktextLOGOUT_ [l=vi] {THOÁT RA} 
    196196
     
    341341# 'No matches for query: querystring', depending on whether or not there were
    342342# any matches
    343 _textquerytitle_ [l=vi] {_If_(_thislast_,kết quả _thisfirst_ - _thislast_ cho câu truy vấn: _cgiargq_,KhÃŽng có kết quả khớp với câu truy vấn: _cgiargq_)}
     343_textquerytitle_ [l=vi] {_If_(_thislast_,kết quả _thisfirst_ - _thislast_ cho câu truy vấn: _cgiargqHtmlsafe_,KhÃŽng có kết quả khớp với câu truy vấn: _cgiargqHtmlsafe_)}
    344344_textnoquerytitle_ [l=vi] {Trang tìm kiếm}
    345345
Note: See TracChangeset for help on using the changeset viewer.