diff --git a/.gitignore b/.gitignore index 10a7187cf3..837b2e8767 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ +favicon.* .htconfig.php \#* wip/* diff --git a/.htaccess b/.htaccess index b06dd8bdc3..9322b92820 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 4bbd75387a..d9b205a3a5 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 .= '