Changeset 125316 in spip-zone


Ignore:
Timestamp:
Jun 25, 2020, 3:00:05 PM (3 weeks ago)
Author:
Gitea
Message:

Utilisation des fonctions de sanitization sur galerie et _galerie en lien avec #4494 du core

Location:
_core_/plugins/medias
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/medias

    • Property subgit:lock:5443d969fd4c56dc5132f26ffde09836a6081454 deleted
    • Property subgit:lock:7383bad4222c9c330323010cfa28ff49af0e37f8 set to 2020-06-25T17:00:09.829
  • _core_/plugins/medias/formulaires/joindre_document.html

    r105157 r125316  
    2020</div>]
    2121[(#ENV{_galerie,''}|oui)
    22                 [(#INCLURE{fond=#ENV{_galerie}, env, ajax})]
     22                [(#INCLURE{fond=#ENV{_galerie}|spip_sanitize_from_request{_galerie,vide}, env, ajax})]
    2323]
  • _core_/plugins/medias/prive/squelettes/inclure/mediatheque-navigation.html

    r117580 r125316  
    5858#FORMULAIRE_RECHERCHE_ECRIRE{#GET{self},ajax}
    5959
    60 <INCLURE{fond=#ENV{galerie,prive/squelettes/inclure/mediatheque-galerie},ajax=documents,env} />
     60<INCLURE{fond=#ENV{galerie,''}|spip_sanitize_from_request{galerie,vide}|sinon{prive/squelettes/inclure/mediatheque-galerie},ajax=documents,env} />
    6161
    6262<div class='nettoyeur'></div>
Note: See TracChangeset for help on using the changeset viewer.