summaryrefslogtreecommitdiff
path: root/www/geeklog/patches
diff options
context:
space:
mode:
authortaca <taca@pkgsrc.org>2006-06-30 17:16:27 +0000
committertaca <taca@pkgsrc.org>2006-06-30 17:16:27 +0000
commit52e0dbeecc22b9392a4813ed017a32bfb7b33281 (patch)
treed8c961f7045c06d3e335504d6b01553f6a3298be /www/geeklog/patches
parentb32afb07b6f6c8a7f5f852e725ec4da675d89c3a (diff)
downloadpkgsrc-52e0dbeecc22b9392a4813ed017a32bfb7b33281.tar.gz
Add a temporary fix to handle security problem of fckeditor; disabling
file upload functions. Bump PKGREVISION.
Diffstat (limited to 'www/geeklog/patches')
-rw-r--r--www/geeklog/patches/patch-ag34
1 files changed, 34 insertions, 0 deletions
diff --git a/www/geeklog/patches/patch-ag b/www/geeklog/patches/patch-ag
new file mode 100644
index 00000000000..bed50038dc4
--- /dev/null
+++ b/www/geeklog/patches/patch-ag
@@ -0,0 +1,34 @@
+$NetBSD: patch-ag,v 1.1 2006/06/30 17:16:27 taca Exp $
+
+Give first aid to file uploader security problem.
+
+--- public_html/fckeditor/fckconfig.js.orig 2006-05-28 18:41:40.000000000 +0900
++++ public_html/fckeditor/fckconfig.js
+@@ -160,17 +160,17 @@ FCKConfig.ImageDlgHideAdvanced = fals
+
+ FCKConfig.FlashDlgHideAdvanced = false ;
+
+-FCKConfig.LinkBrowser = true ;
++FCKConfig.LinkBrowser = false ;
+ FCKConfig.LinkBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Connector=connectors/php/connector.php' ;
+ FCKConfig.LinkBrowserWindowWidth = screen.width * 0.7 ; // 70%
+ FCKConfig.LinkBrowserWindowHeight = screen.height * 0.7 ; // 70%
+
+-FCKConfig.ImageBrowser = true ;
++FCKConfig.ImageBrowser = false ;
+ FCKConfig.ImageBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Image&Connector=connectors/php/connector.php' ;
+ FCKConfig.ImageBrowserWindowWidth = screen.width * 0.7 ; // 70% ;
+ FCKConfig.ImageBrowserWindowHeight = screen.height * 0.7 ; // 70% ;
+
+-FCKConfig.FlashBrowser = true ;
++FCKConfig.FlashBrowser = false ;
+ FCKConfig.FlashBrowserURL = FCKConfig.BasePath + 'filemanager/browser/mcpuk/browser.html?Type=Flash&Connector=connectors/php/connector.php' ;
+ FCKConfig.FlashBrowserWindowWidth = screen.width * 0.7 ; //70% ;
+ FCKConfig.FlashBrowserWindowHeight = screen.height * 0.7 ; //70% ;
+@@ -198,4 +198,4 @@ FCKConfig.SmileyColumns = 8 ;
+ FCKConfig.SmileyWindowWidth = 320 ;
+ FCKConfig.SmileyWindowHeight = 240 ;
+
+-if( window.console ) window.console.log( 'Config is loaded!' ) ; // @Packager.Compactor.RemoveLine
+\ No newline at end of file
++if( window.console ) window.console.log( 'Config is loaded!' ) ; // @Packager.Compactor.RemoveLine