Opened 13 years ago

Closed 13 years ago

#3664 closed defect (fixed)

Runtime substitution default value

Reported by: guillaume Owned by: sdlime
Priority: normal Milestone:
Component: MapServer CGI Version: 5.6
Severity: normal Keywords:
Cc: tbonfort

Description

Default value for a runtime substitution variable is only used if the name of the variable is lowercase : 'default_sound' 'yes' --> OK, but doesn't apply on a SOUND variable 'default_SOUND' 'yes' --> doesn't apply neither.

Change History (6)

comment:1 by sdlime, 13 years ago

Cc: tbonfort added; steve.lime@… removed

Is the substitution itself case insensitive? I can't recall. Cc'ing Thomas...

Steve

comment:2 by guillaume, 13 years ago

Substitution is definitely case sensitive.

comment:3 by sdlime, 13 years ago

Then why wouldn't we want the defaults setting to also be case sensitive?

Steve

comment:4 by tbonfort, 13 years ago

substitution is case insensitive, we use msCaseReplaceSubstring.

comment:5 by guillaume, 13 years ago

Why does a ID variable sent in the URL is not substituted if I use %id% then ?

comment:6 by guillaume, 13 years ago

Resolution: fixed
Status: newclosed

tested again and seems to behave fine.Sorry for the noise.

Note: See TracTickets for help on using tickets.