Laurent Dami
13e2b63d26
#99748 catch runtime errors occurring when user input for the MATCH operator is not a proper regex
2014-11-25 04:30:57 +01:00
Laurent Dami
28fc0e459e
RT#99748: replacing interpolated variables by a closure -- no risk of code injection
2014-10-29 06:57:17 +02:00
Kenichi Ishigaki
9b227e74f4
fixed a case where bind param is undef (which should be converted to NULL)
2014-10-28 16:13:46 +09:00
Kenichi Ishigaki
0cd3997830
use quotemeta (as adviced in RT-99748) to address serious security issues
2014-10-28 15:12:29 +09:00
Laurent Dami
b4aeff356f
additional tests for checking proper handling of '}' and '\}'
2014-10-26 22:47:03 +02:00
Laurent Dami
fb9a6bdd82
adapt tests so that they also work for DBI versions prior to 1.608
2014-10-26 10:14:49 +02:00
Laurent Dami
90ec404874
RT#99748 removed tests that cause segfaults under Perl <= 5.8.8
2014-10-26 09:19:48 +02:00
Laurent Dami
ab7539a7c8
RT#99748 - removed a test which causes experimental warnings under Perl >= 5.18 (and did not add much to the intended tests)
2014-10-26 07:46:10 +02:00
Laurent Dami
c6d9c27e22
RT#99748
...
- added support for undef (NULLs) in comparisons
- new test file t/virtual_table/rt_99748.t for testing nulls and comparing vtable with a regular table
- tests that no security holes can be inserted in compiled regexes
- ROWIDs start at 1, not at 0
- replaced qr{..} by m{..}
2014-10-25 21:06:16 +02:00
Laurent Dami
704c2d2d3c
fix RT#99747 - skip tests if Unicode::UCD is not installed
2014-10-25 05:32:24 +02:00
Kenichi Ishigaki
6ab97143c8
oops, overlooked unnecessary non-core deps
2014-07-21 14:16:52 +09:00
Laurent Dami
ab008be4e3
test the example described in L<DBD::SQLite::VirtualTable::PerlData/"Hashref example : unicode characters">
2014-07-20 20:29:02 +02:00
Laurent Dami
0ec13083f1
implementation of FIND_FUNCTION, plus a couple of cosmetic changes in various places
2014-07-20 18:57:19 +02:00
Laurent Dami
7af00e7edd
cleanup
...
- Emacs settings no longer in dbdimp.c source
- remove duplicated code (generalize cals to stacked_sv_from_sqlite3_value())
- variables renamed
2014-07-19 03:39:07 +02:00
Laurent Dami
bf65db231f
various fixes / improvements
2014-07-12 08:20:19 +02:00
Laurent Dami
9018a4683c
various code refactorings, completion of the doc
2014-07-11 06:06:19 +02:00
Laurent Dami
d6a77c88ea
bug corrections & addition of class VirtualTable/PerlData
2014-07-10 05:45:28 +02:00
Laurent Dami
78984a9de8
initial support for virtual tables in Perl (WORK IN PROGRESS)
2014-07-09 08:31:34 +02:00