fix sanitization in Servers #96

pull/64/merge
Christophe Vandeplas 2013-04-24 12:23:03 +02:00
parent 31aefac521
commit 5c0fc36b79
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ class ServersController extends AppController {
'conditions' => array($conditions),
);
}
$this->set('servers', Sanitize::clean($this->paginate()));
$this->set('servers', $this->paginate());
}
/**
@ -124,7 +124,7 @@ class ServersController extends AppController {
} else {
$this->Server->read(null, $id);
$this->Server->set('authkey', '');
$this->request->data = Sanitize::clean($this->Server->data);
$this->request->data = $this->Server->data;
}
}