mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-09 01: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
|
|
@ -56,6 +56,7 @@ class AnalyticsPodcastModel extends Model
|
|||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_by_day", $found, 600);
|
||||
}
|
||||
|
||||
return $found;
|
||||
}
|
||||
|
||||
|
|
@ -80,6 +81,7 @@ class AnalyticsPodcastModel extends Model
|
|||
cache()
|
||||
->save("{$podcastId}_analytics_podcasts_by_weekday", $found, 600);
|
||||
}
|
||||
|
||||
return $found;
|
||||
}
|
||||
|
||||
|
|
@ -102,6 +104,7 @@ class AnalyticsPodcastModel extends Model
|
|||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_by_bandwidth", $found, 600);
|
||||
}
|
||||
|
||||
return $found;
|
||||
}
|
||||
|
||||
|
|
@ -125,6 +128,7 @@ class AnalyticsPodcastModel extends Model
|
|||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_by_month", $found, 600);
|
||||
}
|
||||
|
||||
return $found;
|
||||
}
|
||||
|
||||
|
|
@ -149,6 +153,7 @@ class AnalyticsPodcastModel extends Model
|
|||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_unique_listeners_by_day", $found, 600);
|
||||
}
|
||||
|
||||
return $found;
|
||||
}
|
||||
|
||||
|
|
@ -174,6 +179,7 @@ class AnalyticsPodcastModel extends Model
|
|||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_unique_listeners_by_month", $found, 600);
|
||||
}
|
||||
|
||||
return $found;
|
||||
}
|
||||
|
||||
|
|
@ -200,6 +206,7 @@ class AnalyticsPodcastModel extends Model
|
|||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_listening_time_by_day", $found, 600);
|
||||
}
|
||||
|
||||
return $found;
|
||||
}
|
||||
|
||||
|
|
@ -225,6 +232,7 @@ class AnalyticsPodcastModel extends Model
|
|||
cache()
|
||||
->save("{$podcastId}_analytics_podcast_listening_time_by_month", $found, 600);
|
||||
}
|
||||
|
||||
return $found;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue