Clone Horde_Url objects in static methods.
authorChuck Hagenbuch <chuck@horde.org>
Sat, 5 Dec 2009 04:51:58 +0000 (23:51 -0500)
committerChuck Hagenbuch <chuck@horde.org>
Sat, 5 Dec 2009 04:51:58 +0000 (23:51 -0500)
commit20ba9921f7b2d1a75f093bfac2aea6ee7798be0c
tree6a68f9f5e347cfcb80a172a240b03a9e9e51cfc9
parentd1868c5f6dc7b6f0eef2a6d1a73affa8a2d873dd
Clone Horde_Url objects in static methods.

This avoids reference problems changing URLs as a result of later calls when
we're building pieces of URLs repeatedly. This can lead to really bad behavior,
like deletion of tasks in Nag when clicking what's supposed to be an edit link.
framework/Util/lib/Horde/Util.php