mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-11 02:36:42 +02:00
fix(security): add csrf filter + prevent xss attacks by escaping user input
- update CI4 to v4.1.9's stable production package - update php and js dependencies to latest
This commit is contained in:
parent
a597cf4ecf
commit
cd2e1e1dc3
182 changed files with 4410 additions and 4214 deletions
|
|
@ -294,6 +294,7 @@ class EpisodeController extends BaseController
|
|||
) {
|
||||
(new MediaModel())->deleteMedia($this->episode->transcript);
|
||||
}
|
||||
|
||||
$this->episode->transcript_remote_url = $transcriptRemoteUrl === '' ? null : $transcriptRemoteUrl;
|
||||
}
|
||||
|
||||
|
|
@ -311,6 +312,7 @@ class EpisodeController extends BaseController
|
|||
) {
|
||||
(new MediaModel())->deleteMedia($this->episode->chapters);
|
||||
}
|
||||
|
||||
$this->episode->chapters_remote_url = $chaptersRemoteUrl === '' ? null : $chaptersRemoteUrl;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue