summaryrefslogtreecommitdiff
path: root/lib/action.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/action.php')
-rw-r--r--lib/action.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/action.php b/lib/action.php
index 8f72b542b..c0229cf75 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);
}