Re: [MapServer-users] MS_MAP_PATTERN cannot accept network share

2023-03-24 Thread Steve Lime
Hi Benedek: You'll need to fiddle with MS_MAP_BAD_PATTERN. Looking at the sample configuration file it's value is: MS_MAP_BAD_PATTERN "[/\\]{2}|[/\\]?\\.+[/\\]|," If a mapfile path matches any of those, it's rejected. By default it's blocking anything with \\, //, back references or commas

[MapServer-users] MS_MAP_PATTERN cannot accept network share

2023-03-23 Thread Benedek Petrovicz
Hi! I'm running into an issue where I cannot reference the mapfiles from a network share. I'm getting the following error: *msCGILoadMap(): Web application error. CGI variable "map" fails to validate.* The path to my mapfile is the following: *//MY-NAS/MapFiles/test.map* It's under a network