From: Evan Prodromou Date: Mon, 24 Nov 2008 05:22:50 +0000 (-0500) Subject: correct self_url without cookie stuff X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c9430ab3127d01354579644c595f2b0b0eaff9cd;p=quix0rs-gnu-social.git correct self_url without cookie stuff darcs-hash:20081124052250-5ed1f-158956ba8a735e5bfe4f7199c17596e13357cf5f.gz --- diff --git a/lib/action.php b/lib/action.php index 8f72b542b0..c0229cf75f 100644 --- a/lib/action.php +++ b/lib/action.php @@ -77,6 +77,9 @@ class Action { // lawsuit $action = $this->trimmed('action'); $args = $this->args; unset($args['action']); + foreach (array_keys($_COOKIE) as $cookie) { + unset($args[$cookie]); + } return common_local_url($action, $args); }