\Q-uote column/alias names in regexes in _resolve_aliastypes_from_select_args topic/regex-quote
authorDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sun, 27 Jul 2014 15:09:41 +0000 (16:09 +0100)
committerDagfinn Ilmari Mannsåker <ilmari@ilmari.org>
Sun, 27 Jul 2014 22:04:59 +0000 (23:04 +0100)
commitf32ef9736db45ae4fdf984bdbe141ad0ebfbab93
tree358c65396f1f486c712ff59dfb01240bc6a04f92
parentd1f4d28df1b9f62c53e87ed0f93a9f6dadfbaf97
\Q-uote column/alias names in regexes in _resolve_aliastypes_from_select_args

Column names can contain regex metacharacters (which includes #, with
/x), so wrap them in \Q and \E to avoid syntax errors.
lib/DBIx/Class/Storage/DBIHacks.pm
t/sqlmaker/limit_dialects/torture_quoted.t