@@ -6907,7 +6907,7 @@ static void applyOutputFormatDefaultSubstitutions(outputFormatObj *format, const
6907
6907
char * tmpfilename = msStrdup (filename );
6908
6908
const char * default_key = msFirstKeyFromHashTable (table );
6909
6909
while (default_key ) {
6910
- if (!strncmp (default_key ,"default_" ,8 )) {
6910
+ if (!strncasecmp (default_key ,"default_" ,8 )) {
6911
6911
char * new_filename = NULL ;
6912
6912
size_t buffer_size = (strlen (default_key )- 5 );
6913
6913
char * tag = (char * )msSmallMalloc (buffer_size );
@@ -6931,7 +6931,7 @@ static void applyClassDefaultSubstitutions(classObj *class, hashTableObj *table)
6931
6931
{
6932
6932
const char * default_key = msFirstKeyFromHashTable (table );
6933
6933
while (default_key ) {
6934
- if (!strncmp (default_key ,"default_" ,8 )) {
6934
+ if (!strncasecmp (default_key ,"default_" ,8 )) {
6935
6935
size_t buffer_size = (strlen (default_key )- 5 );
6936
6936
char * tag = (char * )msSmallMalloc (buffer_size );
6937
6937
snprintf (tag , buffer_size , "%%%s%%" , & (default_key [8 ]));
@@ -6950,7 +6950,7 @@ static void applyLayerDefaultSubstitutions(layerObj *layer, hashTableObj *table)
6950
6950
int i ;
6951
6951
const char * default_key = msFirstKeyFromHashTable (table );
6952
6952
while (default_key ) {
6953
- if (!strncmp (default_key ,"default_" ,8 )) {
6953
+ if (!strncasecmp (default_key ,"default_" ,8 )) {
6954
6954
size_t buffer_size = (strlen (default_key )- 5 );
6955
6955
const char * to = msLookupHashTable (table , default_key );
6956
6956
char * tag = (char * )msSmallMalloc (buffer_size );
@@ -6971,7 +6971,7 @@ static void applyHashTableDefaultSubstitutions(hashTableObj *hashTab, hashTableO
6971
6971
{
6972
6972
const char * default_key = msFirstKeyFromHashTable (table );
6973
6973
while (default_key ) {
6974
- if (!strncmp (default_key , "default_" , 8 )) {
6974
+ if (!strncasecmp (default_key , "default_" , 8 )) {
6975
6975
size_t buffer_size = (strlen (default_key ) - 5 );
6976
6976
const char * to = msLookupHashTable (table , default_key );
6977
6977
char * tag = (char * )msSmallMalloc (buffer_size );
0 commit comments