Skip to content

Commit 3f5e883

Browse files
committedFeb 21, 2014
Merge pull request #1210 from marcel-dancak/master
Allow LIKE operator in QGIS mapserver's GetFeatureInfo FILTER parameter
2 parents 98401dc + ddc0f87 commit 3f5e883

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/mapserver/qgswmsserver.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,6 +2000,7 @@ bool QgsWMSServer::testFilterStringSafety( const QString& filter ) const
20002000
|| tokenIt->compare( "AND", Qt::CaseInsensitive ) == 0
20012001
|| tokenIt->compare( "OR", Qt::CaseInsensitive ) == 0
20022002
|| tokenIt->compare( "IN", Qt::CaseInsensitive ) == 0
2003+
|| tokenIt->compare( "LIKE", Qt::CaseInsensitive ) == 0
20032004
|| tokenIt->compare( "DMETAPHONE", Qt::CaseInsensitive ) == 0
20042005
|| tokenIt->compare( "SOUNDEX", Qt::CaseInsensitive ) == 0 )
20052006
{

0 commit comments

Comments
 (0)
Please sign in to comment.