dkpro / dkpro-uby

Framework for creating and accessing UBY resources – sense-linked lexical resources in standard UBY-LMF format
https://dkpro.github.io/dkpro-uby
Other
22 stars 3 forks source link

Avoid using sqlRestriction #92

Open judithek opened 9 years ago

judithek commented 9 years ago
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 commented 9 years ago
(No text was entered with this change)

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

judithek commented 9 years ago
(No text was entered with this change)

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

judithek commented 9 years ago
thanks for reporting

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

judithek commented 9 years ago
(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 commented 9 years ago
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 commented 9 years ago
(No text was entered with this change)

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

judithek commented 9 years ago
(No text was entered with this change)

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