correct self_url without cookie stuff

darcs-hash:20081124052250-5ed1f-158956ba8a735e5bfe4f7199c17596e13357cf5f.gz
This commit is contained in:
Evan Prodromou 2008-11-24 00:22:50 -05:00
parent 9c6caac8b8
commit c9430ab312

View File

@ -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);
}