From c9430ab3127d01354579644c595f2b0b0eaff9cd Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 24 Nov 2008 00:22:50 -0500 Subject: [PATCH] correct self_url without cookie stuff darcs-hash:20081124052250-5ed1f-158956ba8a735e5bfe4f7199c17596e13357cf5f.gz --- lib/action.php | 3 +++ 1 file changed, 3 insertions(+) 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); } -- 2.39.5