Skip to content
Permalink
Browse files

Merge pull request #1210 from marcel-dancak/master

Allow LIKE operator in QGIS mapserver's GetFeatureInfo FILTER parameter
  • Loading branch information
mhugent committed Feb 21, 2014
2 parents 98401dc + ddc0f87 commit 3f5e8835ec6bece4f5c6dd9aa162e6cfe21153bb
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 3f5e883

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