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

    r28482 r28888  
    7676_textdescrpref_ [l=gu] {પઞંઊગીઓ પટચુ}
    7777_textdescrlogin_ [l=gu] {લોગીચ પટચું }
    78 _textdescrlogout_ [l=gu] {_cgiargun_ ઀રીકે લોગઆઉટ કરો }
     78_textdescrlogout_ [l=gu] {_cgiargunHtmlsafe_ ઀રીકે લોગઆઉટ કરો }
    7979
    8080_textdescrgreenstone_ [l=gu] {ગ્રીચઞ્ટોચ ડિજિટલ લટયબ્રેરી ઞોફ્ટવેર}
     
    212212_linktextPREFERENCES_ [l=gu] {પઞંઊગીઓ}
    213213_linktextLOGIN_ [l=gu] {લોગીચ}
    214 _linktextLOGGEDIN_ [l=gu] {(_cgiargun_ ઀રીકે લોગીચ કર્યું) }
     214_linktextLOGGEDIN_ [l=gu] {(_cgiargunHtmlsafe_ ઀રીકે લોગીચ કર્યું) }
    215215_linktextLOGOUT_ [l=gu] {લોગઆઉટ}
    216216
     
    373373# 'No matches for query: querystring', depending on whether or not there were
    374374# any matches
    375 _textquerytitle_ [l=gu] {_If_(_thislast_,results _thisfirst_ - _thislast_ ક્વેરી મટટે: _cgiargq_,ક્વેરી મટટે મેચ થ઀ુ ચથી.: _cgiargq_)}
     375_textquerytitle_ [l=gu] {_If_(_thislast_,results _thisfirst_ - _thislast_ ક્વેરી મટટે: _cgiargqHtmlsafe_,ક્વેરી મટટે મેચ થ઀ુ ચથી.: _cgiargqHtmlsafe_)}
    376376_textnoquerytitle_ [l=gu] {પટચુ શોધો}
    377377
Note: See TracChangeset for help on using the changeset viewer.