AbundantCommunities / CommonGood

CommonGood is open source software, a webapp that records and manages information from Abundant Communities Initiative (ACI) interviews. Multiple neighbourhoods' data kept separate.
http://abundantcommunityinitiative.org/software
GNU General Public License v3.0
1 stars 0 forks source link

Search crash if search term has any of ! & ( ) - | / \ , . #149

Open timsenger opened 3 years ago

timsenger commented 3 years ago

Search term is a GString (passed to sql.rows), which can contain embeddable values. This might be causing the error "no operand in tsquery" (line 65 in grails-app/services/commongood/SearchService.groovy, version 1.17.2 of CommonGood) if search term: