Removing automagic -! sql no-escape string handling. Removing use of Router::stripEscape() from Dispatcher, as this method removed -! from url + post data.

This commit is contained in:
mark_story 2009-11-28 23:02:59 -05:00
parent 8315b48e77
commit 02f9275e20
2 changed files with 2 additions and 2 deletions

View file

@ -297,7 +297,7 @@ class Dispatcher extends Object {
$params['action'] = 'index';
}
if (isset($params['form']['data'])) {
$params['data'] = Router::stripEscape($params['form']['data']);
$params['data'] = $params['form']['data'];
unset($params['form']['data']);
}
if (isset($_GET)) {

View file

@ -1933,7 +1933,7 @@ class DboSource extends DataSource {
} else {
$data = $this->__quoteFields($key) . ' IN (';
}
if ($quoteValues || strpos($value[0], '-!') !== 0) {
if ($quoteValues) {
if (is_object($model)) {
$columnType = $model->getColumnType($key);
}