Bug in the fetch plugin
| From: | loic d'Anterroches | Date: | Sun, 08 Dec 2002 22:47:24 +0000 |
| Subject: | Bug in the fetch plugin | ||
| Groups: | php.smarty.dev | ||
| Request: | Send a blank email to php-smarty-dev+get-385@lists.php.net to get a copy of this message | ||
Yop,
The fetch plugin erase the query string of an url when you want to grab it.
For example:
{fetch
file="http://sourceforge.net/export/projhtml.php?group_id=44465&mode=full&no_table="}
Here the "patch" yes it is not a real patch ;)
Add:
if(!empty($uri_parts['query'])) {
$uri .= "?" . $uri_parts['query'];
} else {
$uri .= "?" . $uri_parts['query'];
}
Just after:
if(!empty($uri_parts['path'])) {
$uri = $uri_parts['path'];
} else {
$uri = '/';
}
And now it works:
http://www.xulit.com/
loic
--
+++ GMX - Mail, Messaging & more http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr für 1 ct/ Min. surfen!