diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2008-11-24 00:22:50 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2008-11-24 00:22:50 -0500 |
commit | c9430ab3127d01354579644c595f2b0b0eaff9cd (patch) | |
tree | 5fd52b3a86c7ec834aa8776db376717b1d1c9f64 /lib/action.php | |
parent | 9c6caac8b850c714c0f3cd1ce95ae8aa720631a0 (diff) |
correct self_url without cookie stuff
darcs-hash:20081124052250-5ed1f-158956ba8a735e5bfe4f7199c17596e13357cf5f.gz
Diffstat (limited to 'lib/action.php')
-rw-r--r-- | lib/action.php | 3 |
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); } |