correct self_url without cookie stuff
darcs-hash:20081124052250-5ed1f-158956ba8a735e5bfe4f7199c17596e13357cf5f.gz
This commit is contained in:
		@@ -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);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user