forked from GNUsocial/gnu-social
correct self_url without cookie stuff
darcs-hash:20081124052250-5ed1f-158956ba8a735e5bfe4f7199c17596e13357cf5f.gz
This commit is contained in:
parent
9c6caac8b8
commit
c9430ab312
@ -77,6 +77,9 @@ class Action { // lawsuit
|
|||||||
$action = $this->trimmed('action');
|
$action = $this->trimmed('action');
|
||||||
$args = $this->args;
|
$args = $this->args;
|
||||||
unset($args['action']);
|
unset($args['action']);
|
||||||
|
foreach (array_keys($_COOKIE) as $cookie) {
|
||||||
|
unset($args[$cookie]);
|
||||||
|
}
|
||||||
return common_local_url($action, $args);
|
return common_local_url($action, $args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user