зеркало из https://github.com/mozilla/pjs.git
Bug 282671 - remove stylesheet parameter, as it can be exploited for site spoofing.
This commit is contained in:
Родитель
fe820d76ac
Коммит
627990e47f
|
@ -45,7 +45,7 @@ my $form = $cgi->Vars;
|
|||
my $vars;
|
||||
$vars->{'form'} = $form;
|
||||
$vars->{'newsgroup'} = $newsgroup;
|
||||
$vars->{'stylesheet'} = $form->{'stylesheet'} || "skin/planet.css";
|
||||
$vars->{'stylesheet'} = "skin/planet.css";
|
||||
|
||||
my $template = Template->new({
|
||||
INCLUDE_PATH => ["template"],
|
||||
|
|
Загрузка…
Ссылка в новой задаче