Skip to content
Permalink
Browse files

Allow LIKE operator in QGIS mapserver's GetFeatureInfo search request…

… (FILTER parameter)
  • Loading branch information
Marcel Dancak
Marcel Dancak committed Feb 21, 2014
1 parent 98401dc commit ddc0f87f3e9113f4aeb693c46e446ed5eed7474d
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/mapserver/qgswmsserver.cpp
@@ -2000,6 +2000,7 @@ bool QgsWMSServer::testFilterStringSafety( const QString& filter ) const
|| tokenIt->compare( "AND", Qt::CaseInsensitive ) == 0
|| tokenIt->compare( "OR", Qt::CaseInsensitive ) == 0
|| tokenIt->compare( "IN", Qt::CaseInsensitive ) == 0
|| tokenIt->compare( "LIKE", Qt::CaseInsensitive ) == 0
|| tokenIt->compare( "DMETAPHONE", Qt::CaseInsensitive ) == 0
|| tokenIt->compare( "SOUNDEX", Qt::CaseInsensitive ) == 0 )
{

0 comments on commit ddc0f87

Please sign in to comment.
You can’t perform that action at this time.