Skip to content
Permalink
Browse files
Feature names with dots are now supported for feature id filtering (f…
…ixes #5741)
  • Loading branch information
ravhed committed Apr 12, 2019
1 parent 848b243 commit b8139f21efbf6be27532438c026818e69b23af1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -3171,7 +3171,7 @@ int FLTCheckFeatureIdFilters(FilterEncodingNode *psFilterNode,
tokens = msStringSplit(psFilterNode->pszValue,',', &nTokens);
for (j=0; j<nTokens; j++) {
const char* pszId = tokens[j];
const char* pszDot = strchr(pszId, '.');
const char* pszDot = strrchr(pszId, '.');
if( pszDot )
{
if( pszDot - pszId != strlen(lp->name) ||
@@ -645,7 +645,7 @@ char *FLTGetFeatureIdCommonExpression(FilterEncodingNode *psFilterNode, layerObj
char *pszTmp = NULL;
int bufferSize = 0;
const char* pszId = tokens[i];
const char* pszDot = strchr(pszId, '.');
const char* pszDot = strrchr(pszId, '.');
if( pszDot )
pszId = pszDot + 1;

0 comments on commit b8139f2

Please sign in to comment.