Changeset 1735 for trunk/gregarius/cls

Show
Ignore:
Timestamp:
06/16/07 09:14:18 (16 months ago)
Author:
mbonetti
Message:

fix for author names with multiple successive escaped characters, which
would issue 404's

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/cls/wrappers/item.php

    r1730 r1735  
    213213function rss_item_author() { 
    214214    if (($a = $GLOBALS['rss'] -> currentItem -> author) != null) { 
    215         $ea = preg_replace('/[^a-zA-Z0-9]+/','_',$a); 
     215        $ea = preg_replace('/[^a-zA-Z0-9]/','_',$a); 
    216216        if (getConfig('rss.output.usemodrewrite')) { 
    217217            $a = "<a href=\"".getPath() ."author/$ea\">$a</a>";