Hi

Android does not support regex. Using plain string matches is slower,
less flexible, and opens up a security hole. So rather than do that,
just disable cgi on android.

- Lauri
>From 1cbfdb43fdf1e73a79e35ca78a7d70d776f252a0 Mon Sep 17 00:00:00 2001
From: Lauri Kasanen <[email protected]>
Date: Wed, 11 Jul 2012 19:03:42 +0300
Subject: [PATCH] configure: Mark CGI as disabled on android

Android does not support regex. Using plain string matches is slower,
less flexible, and opens up a security hole. So rather than do that,
just disable cgi on android.

Signed-off-by: Lauri Kasanen <[email protected]>
---
 configure |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure b/configure
index d9c97a3..e1ea409 100755
--- a/configure
+++ b/configure
@@ -454,7 +454,7 @@ create_makefile_plugins()
 
     if [ $platform == "android" ]; then
         if test -z $disabled_plugins; then
-            disabled_plugins="cheetah,palm,logger"
+            disabled_plugins="cheetah,palm,logger,cgi"
         fi
     fi
 
-- 
1.7.2.1

_______________________________________________
Monkey mailing list
[email protected]
http://lists.monkey-project.com/listinfo/monkey

Reply via email to