Ticket #3108 (closed enhancement: fixed)
default values for CGI substitutions
| Reported by: | tbonfort | Owned by: | tbonfort |
|---|---|---|---|
| Priority: | normal | Milestone: | 5.6 release |
| Component: | Documentation - MapServer | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: | sdlime dmorissette |
Description
I very often use url overloading with the %key% syntax in my mapfile as I find it's a powerful means of building custom maps. The problem with the current implementation is that the mapfile more often than less becomes unparsable if the url doesn't contain the key=value parameter.
Would it be complicated to modify the parser so that the mapfile can contain a default value for %key%, that would be applied if the url does not contain the "key" parameter?
Change History
Note: See
TracTickets for help on using
tickets.
