Browse Source

Merge branch 'master' of JLuc/medias into master

Notice PHP --
issue_4494
marcimat 3 years ago committed by Gitea
parent
commit
dc432b5b83
  1. 1
      medias_fonctions.php
  2. 2
      paquet.xml

1
medias_fonctions.php

@ -44,6 +44,7 @@ if (isset($GLOBALS['visiteur_session']['zip_to_clean'])
if (isset($_SERVER['REQUEST_METHOD'])
and $_SERVER['REQUEST_METHOD'] == 'POST'
and empty($_POST)
and isset($_SERVER['CONTENT_TYPE'])
and strlen($_SERVER['CONTENT_TYPE']) > 0
and strncmp($_SERVER['CONTENT_TYPE'], 'multipart/form-data', 19) == 0
and $_SERVER['CONTENT_LENGTH'] > medias_inigetoctets('post_max_size')

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="medias"
categorie="multimedia"
version="2.25.3"
version="2.25.4"
etat="stable"
compatibilite="[3.3.0-dev;3.3.*]"
logo="prive/themes/spip/images/portfolio-32.png"

Loading…
Cancel
Save