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

    r23638 r28888  
    7676
    7777# should have arguments of collection, collectionname and link
    78 _foundintcontent_ [l=ja] {<h3>Link to "_2_" collection</h3> <p> 遞択されたリンクは_collectionname_コレクションの倖郚にありたす。"_2_" コレクションにリンクしおいたす      もし"_2_" コレクションのリンクを芋たければ<a href="_httpdoc_&c=_1_&cl=_cgiargcl_&d=_3_">進む</a>このペヌゞに;      もしくはブラりザ-の「バック」ボタンを䜿甚しお以前のドキュメントぞ戻っおください。} 
     78_foundintcontent_ [l=ja] {<h3>Link to "_2_" collection</h3> <p> 遞択されたリンクは_collectionname_コレクションの倖郚にありたす。"_2_" コレクションにリンクしおいたす      もし"_2_" コレクションのリンクを芋たければ<a href="_httpdoc_&c=_1_&cl=_cgiargclUrlsafe_&d=_3_">進む</a>このペヌゞに;      もしくはブラりザ-の「バック」ボタンを䜿甚しお以前のドキュメントぞ戻っおください。} 
    7979
    8080
     
    9494_textpassword_ [l=ja] {パスワヌド} 
    9595
    96 _textmustbelongtogroup_ [l=ja] {このペヌゞにアクセスするには、 "_cgiargug_" グルヌプに属しおいなければなりたせん。} 
     96_textmustbelongtogroup_ [l=ja] {このペヌゞにアクセスするには、 "_cgiargugHtmlsafe_" グルヌプに属しおいなければなりたせん。} 
    9797
    9898_textmessageinvalid_ [l=ja] {あなたが芁求しおいるペヌゞはサむンむンがå¿
     
    309309
    310310_textdelperm_ [l=ja] {コレクションのいく぀かあるいはå
    311 šéƒšãŒå‰Šé™€ã§ããŸã›ã‚“。考えられる原因ずしおは <ul> <li>グリヌンストヌンは _gsdlhome_/collect/_cgiargbc1dirname_を削陀する蚱可暩限を持っおいたせん。 directory.<br> You may need to remove this directory manually to complete the removal of the _cgiargbc1dirname_ collection from this computer.このコンピュヌタヌから_cgiargbc1dirname_の移動を完成するためにこのディレクトリヌをマニュアルで移動するå¿
     311šéƒšãŒå‰Šé™€ã§ããŸã›ã‚“。考えられる原因ずしおは <ul> <li>グリヌンストヌンは _gsdlhome_/collect/_cgiargbc1dirnameHtmlsafe_を削陀する蚱可暩限を持っおいたせん。 directory.<br> You may need to remove this directory manually to complete the removal of the _cgiargbc1dirnameHtmlsafe_ collection from this computer.このコンピュヌタヌから_cgiargbc1dirnameHtmlsafe_の移動を完成するためにこのディレクトリヌをマニュアルで移動するå¿
    312312芁がありたす。</li> <li>グリヌンストヌンは_gsdlhome_/bin/script/delcol.plプログラムを起動できたせん。このファむルが読み取り可胜でか぀実行可胜であるこずを確認しおください。</li> </ul>} 
    313313
    314314_textdelinv_ [l=ja] {コレクタヌ} 
    315315
    316 _textdelsuc_ [l=ja] {_cgiargbc1dirname_ コレクションは削陀されたした。} 
    317 
    318 _textclonefail_ [l=ja] {_cgiargclonecol_  コレクションは耇補できたせん。考えられる原因ずしおは <ul> <li> The _cgiargclonecol_ collection が存圚しない。 <li> The _cgiargclonecol_ collection が collect.cfg configuration fileを持たない。 <li> グリヌンストヌンがcollect.cfg configuration fileを読む暩限がない。 </ul>} 
     316_textdelsuc_ [l=ja] {_cgiargbc1dirnameHtmlsafe_ コレクションは削陀されたした。} 
     317
     318_textclonefail_ [l=ja] {_cgiargclonecolHtmlsafe_  コレクションは耇補できたせん。考えられる原因ずしおは <ul> <li> The _cgiargclonecolHtmlsafe_ collection が存圚しない。 <li> The _cgiargclonecolHtmlsafe_ collection が collect.cfg configuration fileを持たない。 <li> グリヌンストヌンがcollect.cfg configuration fileを読む暩限がない。 </ul>} 
    319319
    320320_textcolerr_ [l=ja] {コレクタヌ゚ラヌ} 
     
    331331_textreloaderror_ [l=ja] {新芏コレクションを構築䞭に゚ラヌが発生したした。これはグリヌンストヌンが、ブラりザヌの「リロヌド」か「バック」ボタンを䜿甚したために混乱したせいです。コレクタヌでコレクションを構築䞭はこれらのボタンを䜿甚しないでください。コレクタヌを最初から再起動しおください。 } 
    332332
    333 _textexptsuc_ [l=ja] {_cgiargbc1dirname_ コレクションは _gsdlhome_/tmp/exported\__cgiargbc1dirname_ディレクトリヌに゚クスポヌトされたした。. } 
    334 
    335 _textexptfail_ [l=ja] {<p>_cgiargbc1dirname_コレクションの゚クスポヌトに倱敗した。  <p>これはグリヌンストヌンが「CD-ROMに゚クスポヌトする」機胜をサポヌトするå¿
     333_textexptsuc_ [l=ja] {_cgiargbc1dirnameHtmlsafe_ コレクションは _gsdlhome_/tmp/exported\__cgiargbc1dirnameHtmlsafe_ディレクトリヌに゚クスポヌトされたした。. } 
     334
     335_textexptfail_ [l=ja] {<p>_cgiargbc1dirnameHtmlsafe_コレクションの゚クスポヌトに倱敗した。  <p>これはグリヌンストヌンが「CD-ROMに゚クスポヌトする」機胜をサポヌトするå¿
    336336芁なコンポヌネントをむンストヌルしおいないためです。  <ul>   <li>もしグリヌンストヌンの2.70w 以前のバヌゞョンがCD-ROMからむンストヌルされおいれば、カスタムむンストヌルで遞択しない限りこれらのコンポヌネントはむンストヌルされたせん。むンストヌルの手順を再実行するこずで、コンポヌネントを远加できたす。     <li>If you installed Greenstone from a web distribution you will need toもしグリヌンストヌンをり゚ブからå
    337337¥æ‰‹ã™ã‚‹ãªã‚‰ã“れらの機胜を実行するには远加のパッケヌゞをむンストヌルしなければなりたせん。<a href="http://www.greenstone.org">http://www.greenstone.org</a> か<ahref="https://list.scms.waikato.ac.nz/mailman/listinfo/greenstone-users">にアクセスしおください。メヌリングリスト</a>  詳现は  </ul>} 
     
    485485_textdeleteuser_ [l=ja] {ナヌザヌを削陀する。} 
    486486_textremwarn_ [l=ja] {ナヌザヌを氞ä¹
    487 ã«å‰Šé™€ã—たすか <b>_cgiargumun_</b>?} 
     487に削陀したすか <b>_cgiargumunHtmlsafe_</b>?} 
    488488
    489489
Note: See TracChangeset for help on using the changeset viewer.