Re: [MapServer-users] CGI variable "map" fails to validate

2024-03-06 Thread Lernout, Matthew via MapServer-users
in a URL Rewrite). Thanks, Matt -Original Message- From: MapServer-users On Behalf Of Lernout, Matthew via MapServer-users Sent: Wednesday, March 6, 2024 5:29 PM To: mapserver-users@lists.osgeo.org Subject: Re: [MapServer-users] CGI variable "map" fails to validate So, still bangi

Re: [MapServer-users] CGI variable "map" fails to validate

2024-03-06 Thread Jan Hartmann via MapServer-users
, Matthew via MapServer-users Sent: Wednesday, February 7, 2024 3:32 PM To: mapserver-users@lists.osgeo.org Subject: Re: [MapServer-users] CGI variable "map" fails to validate Hi, After scratching my head for a while, realized all my testing was over HTTPS. Made a localhost connectio

Re: [MapServer-users] CGI variable "map" fails to validate

2024-03-06 Thread Lernout, Matthew via MapServer-users
ient\projectarea.map msLoadMap(): Unable to access file. (f:\IMS_Maps\Client\projectarea.map) -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: MapServer-users Puolesta Lernout, Matthew via MapServer-users Lähetetty: keskiviikko 7. helmikuuta 2024 19.01 Vastaanottaja: mapserver-users@

Re: [MapServer-users] CGI variable "map" fails to validate

2024-02-07 Thread Lernout, Matthew via MapServer-users
Client\projectarea.map) -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: MapServer-users Puolesta Lernout, Matthew via MapServer-users Lähetetty: keskiviikko 7. helmikuuta 2024 19.01 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [MapServer-users] CGI variable "map" fails to validate

Re: [MapServer-users] CGI variable "map" fails to validate

2024-02-07 Thread Rahkonen Jukka via MapServer-users
kuuta 2024 19.01 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: Re: [MapServer-users] CGI variable "map" fails to validate I've ensured I am restarting the mapserv process with each config change - a quick test of commenting out the MS_MAP_PATTERN variable confirmed that is enough

Re: [MapServer-users] CGI variable "map" fails to validate

2024-02-07 Thread Lernout, Matthew via MapServer-users
via MapServer-users > Sent: Wednesday, February 7, 2024 3:24 AM > To: mapserver-users@lists.osgeo.org > Subject: Re: [MapServer-users] CGI variable "map" fails to validate > > [You don't often get email from mapserver-users@lists.osgeo.org. Learn > why this is important at htt

Re: [MapServer-users] CGI variable "map" fails to validate

2024-02-07 Thread Seth G via MapServer-users
MAP_PATTERN not set." > > Matt > > -Original Message- > From: MapServer-users On > Behalf Of Jörg Thomsen (WhereGroup) via MapServer-users > Sent: Wednesday, February 7, 2024 3:24 AM > To: mapserver-users@lists.osgeo.org > Subject: Re: [MapServer-users] CGI variab

Re: [MapServer-users] CGI variable "map" fails to validate

2024-02-07 Thread Lernout, Matthew via MapServer-users
.osgeo.org Subject: Re: [MapServer-users] CGI variable "map" fails to validate [You don't often get email from mapserver-users@lists.osgeo.org. Learn why this is important at https://aka.ms/LearnAboutSenderIdentification ] Hi, I'm not sure whether the pattern is correct. Shouldn't ist star

Re: [MapServer-users] CGI variable "map" fails to validate

2024-02-07 Thread WhereGroup
Hi, I'm not sure whether the pattern is correct. Shouldn't ist start with ^? Have yout tried MS_MAP_PATTERN '.'? (not for production, just as a test) Jörg Am 06.02.24 um 20:12 schrieb Lernout, Matthew via MapServer-users: Hi, Having trouble making requests since updating to 8.0.1 from

Re: [MapServer-users] CGI variable "map" fails to validate

2024-02-06 Thread Rahkonen Jukka via MapServer-users
Lähettäjä: MapServer-users Puolesta Lernout, Matthew via MapServer-users Lähetetty: tiistai 6. helmikuuta 2024 21.13 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [MapServer-users] CGI variable "map" fails to validate Hi, Having trouble making requests since updating to 8.0.1 f

[MapServer-users] CGI variable "map" fails to validate

2024-02-06 Thread Lernout, Matthew via MapServer-users
Hi, Having trouble making requests since updating to 8.0.1 from 7.6.2. Mapserver is running in IIS using FastCGI and the configuration steps from: https://mapserver.org/installation/iis.html A new config file was added to the filesystem and server Environment variables as per documented

Re: [mapserver-users] CGI variable "map" fails to validate.

2021-06-03 Thread Steve Lime via mapserver-users
I should note that 7.6.3 (also 7.4.5, 7.2.3 and 7.0.8) should make defining a value for MS_MAP_PATTERN much simpler. We updated things to use two filters instead of one. The first, MS_MAP_BAD_PATTERN, checks for problematic character sequences in the map value, for example /./, /../ or // and

Re: [mapserver-users] CGI variable "map" fails to validate.

2021-06-03 Thread Jeff McKenna via mapserver-users
Hi David, MS4W also uses PCRE for its regex engine, so Windows users will soon be facing these same issues as you (I'll be making this as easy as possible for the new Windows users). So to answer your question: I believe most users aren't yet aware of what regex engine they use, and, also I

Re: [mapserver-users] CGI variable "map" fails to validate.

2021-06-03 Thread David Pavlíček via mapserver-users
Hi Steve, your pattern works like a charm... escaped hyphen was the issue. I tested the previous regex with regex101.com and it matches with no problems against most of the available variants except PCRE. Which regex engine is suitable for a test against MapServer? Thank you. st 2. 6. 2021 v

Re: [mapserver-users] CGI variable "map" fails to validate.

2021-06-02 Thread Steve Lime via mapserver-users
Hi David: Presumably the Docker image is running the most recent version of 7.4 which would have that pull request applied. That said, I don't think it's the culprit here and I have seen some issues with -'s where the MS_MAP_PATTERN expression compiles fine but doesn't match as expected.

[mapserver-users] CGI variable "map" fails to validate.

2021-06-02 Thread David Pavlíček via mapserver-users
Hello, I'm using camptocamp/mapserver:7.4 docker image to run mapserver on our servers and I have recently encountered this error: [warn] [pid 25] mod_fcgid: stderr: msCGILoadMap(): Web application error. CGI variable "map" fails to validate. 2098 - 172.17.0.1 - - [02/Jun/2021:04:57:42 +]