Changeset 952

Show
Ignore:
Timestamp:
10/13/05 07:21:35 (3 years ago)
Author:
mbonetti
Message:

EXPERIMENTAL fix for #210. Please report feed urls that stop working.

Files:
1 modified

Legend:

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

    r935 r952  
    8484 
    8585        if (getConfig('rss.output.usemodrewrite')) { 
    86             $this->rlink = getPath().preg_replace("/[^a-zA-Z0-9_]/", "_", $title)."/"; 
     86            //$this->rlink = getPath().preg_replace("/[^a-zA-Z0-9_]/", "_", $title)."/"; 
     87            /* EXPERIMENTAL! */ 
     88            $this->rlink = getPath() . utf8_uri_encode(preg_replace('/[\s&\/]/','_',$title)) . "/"; 
    8789        } else { 
    8890            $this->rlink = getPath()."feed.php?channel=$id";