Commit fdb8abb3 authored by Thomas Gerbet's avatar Thomas Gerbet
Browse files

moodle: 4.1.3 -> 4.1.4

Fixes CVE-2023-35131, CVE-2023-35132 and CVE-2023-35133.

Changelog:
https://moodledev.io/general/releases/4.1/4.1.4
parent ec27e62c
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
{ lib, stdenv, fetchurl, writeText, plugins ? [ ], nixosTests }:

let
  version = "4.1.3";
  version = "4.1.4";

  versionParts = lib.take 2 (lib.splitVersion version);
  # 4.2 -> 402, 3.11 -> 311
@@ -14,8 +14,8 @@ in stdenv.mkDerivation rec {
  inherit version;

  src = fetchurl {
    url = "https://download.moodle.org/stable${stableVersion}/${pname}-${version}.tgz";
    hash = "sha256-JMK+nGgeBryC6I9cg1DD52gIGcPMAJ/xZxrC4a1R5Ps=";
    url = "https://download.moodle.org/download.php/direct/stable${stableVersion}/${pname}-${version}.tgz";
    hash = "sha256-mfJV5KHOG401N8gHFWYygsRRVnlWyn0SojD1H5KAvPQ=";
  };

  phpConfig = writeText "config.php" ''