@@ -43,10 +43,10 @@ public function run($args = [])
4343 },
4444 'license ' => static function () {
4545 return 'This program is free software; you can redistribute it and/or modify it under the terms '
46- . 'of the <a href="https://www.gnu.org/licenses/gpl.html" target="_blank">GNU General Public License</a> '
46+ . 'of the <a href="https://www.gnu.org/licenses/gpl.html" target="_blank" rel="noopener" >GNU General Public License</a> '
4747 . 'as published by the Free Software Foundation, either version 3 of the License, '
4848 . 'or (at your option) any later version.<br/> '
49- . 'Some <a href="https://roundcube.net/license" target="_blank">exceptions</a> '
49+ . 'Some <a href="https://roundcube.net/license" target="_blank" rel="noopener" >exceptions</a> '
5050 . 'for skins & plugins apply. ' ;
5151 },
5252 ]);
@@ -117,6 +117,7 @@ public static function plugins_list($attrib)
117117 if ($ uri ) {
118118 $ uri = html::a ([
119119 'target ' => '_blank ' ,
120+ 'rel ' => 'noopener ' ,
120121 'href ' => rcube::Q ($ uri ),
121122 ],
122123 rcube::Q ($ rcmail ->gettext ('download ' ))
@@ -128,6 +129,7 @@ public static function plugins_list($attrib)
128129 if (!empty ($ data ['license_uri ' ])) {
129130 $ license = html::a ([
130131 'target ' => '_blank ' ,
132+ 'rel ' => 'noopener ' ,
131133 'href ' => rcube::Q ($ data ['license_uri ' ]),
132134 ],
133135 rcube::Q ($ data ['license ' ])
@@ -155,7 +157,7 @@ public static function skin_info($attrib)
155157 html::span ('skinitem ' , html::span ('skinname ' , rcube::Q ($ meta ['name ' ])) . (!empty ($ meta ['version ' ]) ? ' ( ' . $ meta ['version ' ] . ') ' : '' ) . html::br ()
156158 . (!empty ($ meta ['author_link ' ]) ? html::span ('skinauthor ' , $ rcmail ->gettext (['name ' => 'skinauthor ' , 'vars ' => ['author ' => $ meta ['author_link ' ]]])) . html::br () : '' )
157159 . (!empty ($ meta ['license_link ' ]) ? html::span ('skinlicense ' , $ rcmail ->gettext ('license ' ) . ': ' . $ meta ['license_link ' ]) . html::br () : '' )
158- . (!empty ($ meta ['uri ' ]) ? html::span ('skinhomepage ' , $ rcmail ->gettext ('source ' ) . ': ' . html::a (['href ' => $ meta ['uri ' ], 'target ' => '_blank ' , 'tabindex ' => '-1 ' ], rcube::Q ($ rcmail ->gettext ('download ' )))) : '' ))
160+ . (!empty ($ meta ['uri ' ]) ? html::span ('skinhomepage ' , $ rcmail ->gettext ('source ' ) . ': ' . html::a (['href ' => $ meta ['uri ' ], 'target ' => '_blank ' , 'rel ' => ' noopener ' , ' tabindex ' => '-1 ' ], rcube::Q ($ rcmail ->gettext ('download ' )))) : '' ))
159161 );
160162
161163 return $ content ;
0 commit comments