[Frugalware-darcs] homepage-ng: rss: should fix absolute URL references

AlexExtreme alex at alex-smith.me.uk
Sat Jun 2 14:49:57 CEST 2007


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=homepage-ng;a=darcs_commitdiff;h=20070602124914-46e39-24c69b274b5c8a13a75d10b62a6799e0d6f9137d.gz;

[rss: should fix absolute URL references
AlexExtreme <alex at alex-smith.me.uk>**20070602124914] {
hunk ./frugalware/rss.php 120
-					"encoded" => stripslashes($news[$i]->content[0]->tagData),
+					"encoded" => preg_replace("href=\"\/", "href=\"http://frugalware.org\/", stripslashes($news[$i]->content[0]->tagData)),
}


More information about the Frugalware-darcs mailing list