summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Config
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2009-02-02 19:21:33 +0100
committerlpsolit%gmail.com <>2009-02-02 19:21:33 +0100
commit8d70890dc0b7c24b25a344808ac4e63e6a5dd74e (patch)
treecc80d283ac39c08f00620b66a6fc991c5c3ad857 /Bugzilla/Config
parentb23648ca247167be26f1b51bd592b29309ebbc63 (diff)
downloadbugzilla-8d70890dc0b7c24b25a344808ac4e63e6a5dd74e.tar.gz
bugzilla-8d70890dc0b7c24b25a344808ac4e63e6a5dd74e.tar.xz
Bug 38862: [SECURITY] attachments should be at a different hostname - Patch by Byron Jones <bugzilla@glob.com.au> and Frédéric Buclin <LpSolit@gmail.com> r=mkanat a=LpSolit
Diffstat (limited to 'Bugzilla/Config')
-rw-r--r--Bugzilla/Config/Attachment.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/Config/Attachment.pm b/Bugzilla/Config/Attachment.pm
index 72ad29a2d..17dbe4068 100644
--- a/Bugzilla/Config/Attachment.pm
+++ b/Bugzilla/Config/Attachment.pm
@@ -40,6 +40,13 @@ $Bugzilla::Config::Attachment::sortkey = "025";
sub get_param_list {
my $class = shift;
my @param_list = (
+ {
+ name => 'attachment_base',
+ type => 't',
+ default => '',
+ checker => \&check_urlbase
+ },
+
{
name => 'allow_attachment_deletion',
type => 'b',