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 +] "GET
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 require
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.
Re-writing
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 15:1
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
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 fails
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 from
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 7.6.2.
apserver-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 https://aka.ms/LearnAboutSenderIdentification ]
Hi,
I'm not sure whether the pattern
configuration value MS_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: [Map
er-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 variable "map" fails to validate
>
> [You don't often get email from mapse
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
enou
\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@lists.osgeo.org
Aihe: Re: [MapServer-users] CGI variable "map" fails t
mapserv.exe?map=f:\IMS_Maps\Client\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
Vasta
r-users On Behalf Of
Lernout, 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 HTTP
o add 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, s
16 matches
Mail list logo