Changeset 48538 in spip-zone


Ignore:
Timestamp:
Jun 7, 2011, 12:41:35 PM (10 years ago)
Author:
cedric@…
Message:

robustifier la regexp (spip3)

Location:
_plugins_/authentification/openid
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/authentification/openid/openid_pipelines.php

    r43553 r48538  
    1515        if ($flux['args']['type']=='auteur') {
    1616                $openid = recuperer_fond('formulaires/inc-openid', $flux['args']['contexte']);
    17                 $flux['data'] = preg_replace('%(<li class="editer_email(.*?)</li>)%is', '$1'."\n".$openid, $flux['data']);
     17                $flux['data'] = preg_replace('%(<li class=["\'][^"\']*editer_email(.*?)</li>)%is', '$1'."\n".$openid, $flux['data']);
    1818        }
    1919        return $flux;
  • _plugins_/authentification/openid/plugin.xml

    r47931 r48538  
    88                </multi>
    99        </licence>
    10         <version>1.0.7</version>
     10        <version>1.0.8</version>
    1111        <version_base>0.3</version_base>
    1212        <etat>stable</etat>
     
    7272                </multi>
    7373        </licence>
    74         <version>1.1.7</version>
     74        <version>1.1.8</version>
    7575        <version_base>0.2</version_base>
    7676        <etat>stable</etat>
Note: See TracChangeset for help on using the changeset viewer.