diff --git a/.gitignore b/.gitignore index 10a7187cf..837b2e876 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +favicon.* .htconfig.php \#* wip/* diff --git a/.htaccess b/.htaccess index b06dd8bdc..9322b9282 100644 --- a/.htaccess +++ b/.htaccess @@ -3,6 +3,8 @@ Options -Indexes AddType application/x-java-archive .jar AddType audio/ogg .oga +#php_value suhosin.get.max_value_length = 2048 + Deny from all diff --git a/addon/oembed/oembed.php b/addon/oembed/oembed.php index 4bbd75387..d9b205a3a 100644 --- a/addon/oembed/oembed.php +++ b/addon/oembed/oembed.php @@ -18,6 +18,10 @@ function oembed_uninstall() { } function oembed_hook_page_header($a, &$b){ + + if(($a->module !== 'network') && ($a->module !== 'profile')) + return; + $b .= '