RE: [PEAR] [ANNOUNCEMENT] Net_URL-1.0.8 (stable) Released.
| From: | Hooimeijer, Martijn | Date: | Fri, 07 Mar 2003 14:51:07 +0000 |
| Subject: | RE: [PEAR] [ANNOUNCEMENT] Net_URL-1.0.8 (stable) Released. | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-14135@lists.php.net to get a copy of this message | ||
Hi,
I do not understand this function. Seems like you're doing the same thing
twice. Isn't this aksing for trouble?:
function addQueryString($name, $value, $preencoded = false)
{
$this->querystring[$name] = $preencoded ? $value : urlencode($value);
if ($preencoded) {
$this->querystring[$name] = $value;
} else {
$this->querystring[$name] = is_array($value)? array_map('urlencode',
$value): urlencode($value);
}
}
Martijn Hooimeijer
-----Original Message-----
From: PEAR Announce
To: PEAR general list
Sent: 06/03/2003 16:03
Subject: [PEAR] [ANNOUNCEMENT] Net_URL-1.0.8 (stable) Released.
The new PEAR package Net_URL-1.0.8 (stable) has been released at
http://pear.php.net/.
Release notes
-------------
Various bugs. Remove auto setting of default url to '/' if a url is
supplied
to the constructor. May cause BC issues.
Package Info
-------------
Provides easy parsing of URLs and their constituent parts.
Related Links
-------------
Package home: http://pear.php.net/package-info.php?package=Net_URL
Changelog: http://pear.php.net/package-changelog.php?package=Net_URL
Download: http://pear.php.net/get/Net_URL-1.0.8.tgz
Authors
-------------
Richard Heyes <richard@phpguru.org> (lead)
--
PEAR General Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may
contain proprietary material, confidential information and/or be subject to legal privilege. It
should not be copied, disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any attachment and all copies and
inform the sender. Thank you.