Changeset 99400 in spip-zone


Ignore:
Timestamp:
Sep 6, 2016, 10:31:49 AM (3 years ago)
Author:
brunobergot@…
Message:

ne pas permettre n'importe quoi en url de site (Tim Coen)

Location:
_core_/plugins/forum
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/forum/formulaires/forum_prive.php

    r94396 r99400  
    126126        if (array_reduce($_POST, 'reduce_strlen', (20 * 1024)) < 0) {
    127127                $erreurs['erreur_message'] = _T('forum:forum_message_trop_long');
     128        }
     129
     130        if ($url = _request('url_site') and !tester_url_absolue($url)) {
     131                $erreurs['url_site'] = _T('info_url_site_pas_conforme');
    128132        }
    129133
  • _core_/plugins/forum/paquet.xml

    r96638 r99400  
    22        prefix="forum"
    33        categorie="communication"
    4         version="1.9.34"
     4        version="1.9.35"
    55        etat="stable"
    66        compatibilite="[3.1.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.