Skip to content

Commit

Permalink
Fixed issue #15141: Limesurvey uses an out-of-date version of bootstr…
Browse files Browse the repository at this point in the history
…ap.min.js that has security vulnerabilities (#1798)

Updated bootstrap files.
  • Loading branch information
gabrieljenik committed Mar 15, 2021
1 parent 9649826 commit dc679f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2,374 deletions.
8 changes: 4 additions & 4 deletions application/extensions/bootstrap/components/TbApi.php
Expand Up @@ -131,14 +131,14 @@ public function registerAllCss()
*/
public function registerCoreScripts($url = null, $position = CClientScript::POS_END)
{
if ($url === null) {
/*if ($url === null) {
$fileName = YII_DEBUG ? 'bootstrap.js' : 'bootstrap.min.js';
$url = $this->getBootstrapUrl() . '/js/' . $fileName;
}
}*/
/** @var CClientScript $cs */
$cs = Yii::app()->getClientScript();
/*$cs = Yii::app()->getClientScript();
$cs->registerCoreScript('jquery');
$cs->registerScriptFile($url, $position);
$cs->registerScriptFile($url, $position);*/
}

/**
Expand Down

1 comment on commit dc679f7

@Shnoulle
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@c-schmitz ComfortUpdate didn't delete files ?

Please sign in to comment.