Opened 20 years ago

Closed 16 years ago

#570 closed defect (wontfix)

map_layername_connection is ignored

Reported by: nharding@… Owned by: sdlime
Priority: high Milestone: 5.0 release
Component: MapServer CGI Version: 4.0
Severity: normal Keywords:
Cc:

Description (last modified by sdlime)

When you try to specify a connection with a map_ command, it is ignored without
an error.  CONNECTION is not included in the switch statement in
mapfile.c:loadLayerString(...)

I don't see any reason why it shouldn't work, but at a minimum it should return
an error that it is unsupported.

Change History (2)

comment:1 by sdlime, 20 years ago

For security purposes you don't want folks messing with connection strings, 
that's why you can't change it via this mechanism. You can use %string% 
substitutions in the CONNECTION string in the mapfile to replace part or all of 
it. Equally dangerous I suppose but you as the developer gets to make the 
choice to allow it.

I'll leave this bug active so the error issue gets addressed.

Steve

comment:2 by sdlime, 16 years ago

Description: modified (diff)
Milestone: 5.0 release
Resolution: wontfix
Status: newclosed

5.0 returns parsing errors for stuff like this so it's not as silent as in the past. Closing as wontfix...

Steve

Note: See TracTickets for help on using tickets.