Show
Ignore:
Timestamp:
01/02/07 14:24:57 (23 months ago)
Author:
mbonetti
Message:

More uniform handling of UTF-8 uri generation. Will probably need better
filtering in rss_uri(). Fix for #150, too.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/gregarius/cls/channels.php

    r1644 r1648  
    9090            //$this->rlink = getPath().preg_replace("/[^a-zA-Z0-9_]/", "_", $title)."/"; 
    9191            /* EXPERIMENTAL! */ 
    92             $this->rlink = getPath() . utf8_uri_encode(preg_replace('/[\s&\/\+]/','_',$title)) . "/"; 
     92            $this->rlink = getPath(rss_uri($title)) . "/"; 
    9393        } else { 
    9494            $this->rlink = getPath()."feed.php?channel=$id";