dkpro-uby icon indicating copy to clipboard operation
dkpro-uby copied to clipboard

Avoid using sqlRestriction

Open judithek opened this issue 9 years ago • 7 comments

The use of sqlRestriction should be avoided because it allows for SQL-injections and
improper escaping. E.g. this

  Restrictions.sqlRestriction("lexiconName = '"+name+"'")

should rather be something like this

  Restrictions.eq("lexiconName", name)


Original issue reported on code.google.com by richard.eckart on 2014-06-21 21:07:21

judithek avatar May 06 '15 13:05 judithek

(No text was entered with this change)

Original issue reported on code.google.com by richard.eckart on 2014-06-21 21:07:36

  • Labels added: Type-Enhancement
  • Labels removed: Type-Defect

judithek avatar May 06 '15 13:05 judithek

(No text was entered with this change)

Original issue reported on code.google.com by eckle.kohler on 2014-07-18 07:11:51

  • Labels added: Milestone-0.6.0

judithek avatar May 06 '15 13:05 judithek

thanks for reporting

Original issue reported on code.google.com by eckle.kohler on 2014-07-18 07:12:12

judithek avatar May 06 '15 13:05 judithek

(No text was entered with this change)

Original issue reported on code.google.com by eckle.kohler on 2014-10-09 17:25:14

judithek avatar May 06 '15 13:05 judithek

Removed some of the sqlRestrictions. Still some left for future work.

Original issue reported on code.google.com by chmeyer.de on 2014-10-10 15:58:58

judithek avatar May 06 '15 13:05 judithek

(No text was entered with this change)

Original issue reported on code.google.com by eckle.kohler on 2014-11-07 09:30:27

  • Labels added: Milestone-0.7.0
  • Labels removed: Milestone-0.6.0

judithek avatar May 06 '15 13:05 judithek

(No text was entered with this change)

Original issue reported on code.google.com by chmeyer.de on 2015-04-10 08:57:50

  • Labels added: Milestone-0.8.0
  • Labels removed: Milestone-0.7.0

judithek avatar May 06 '15 13:05 judithek