]> sipb.mit.edu Git - ikiwiki.git/commitdiff
po plugin: todo++ more security checks needed
authorintrigeri <intrigeri@boum.org>
Wed, 15 Oct 2008 03:36:24 +0000 (05:36 +0200)
committerintrigeri <intrigeri@boum.org>
Sat, 18 Oct 2008 13:49:12 +0000 (15:49 +0200)
... when creating new files.

Signed-off-by: intrigeri <intrigeri@boum.org>
doc/plugins/po.mdwn

index ab7fcb725ee228cf82a1dae22f41e4652481f998..717685df36012a3f99f0b5bfa1e99d63bba239d4 100644 (file)
@@ -203,9 +203,12 @@ has just been declared as being translatable:
 - all the needed POT and PO files are be created
 - **FIXME** the PO files must be checked into version control
 
-**FIXME** `refreshpofiles` uses `system()`, whose args have to be
-checked more thoroughly to prevent any security issue (command
-injection, etc.).
+Security checks:
+
+- `refreshpofiles` uses `system()`, whose args have to be checked more
+  thoroughly to prevent any security issue (command injection, etc.).
+- `refreshpofiles` and `refreshpot` create new files; this may need
+  some checks, e.g. using `IkiWiki::prep_writefile()`
 
 Translation quality assurance
 -----------------------------