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
Showing with 2 additions and 2 deletions.
  1. +1 −1 mapogcfilter.c
  2. +1 −1 mapogcfiltercommon.c
@@ -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.
You can’t perform that action at this time.