Opened 21 years ago

Last modified 16 years ago

#238 closed defect

Order in handling ROSA-CGI-Parameters — at Initial Version

Reported by: silke@… Owned by: sdlime
Priority: high Milestone:
Component: MapServer CGI Version: 3.6
Severity: normal Keywords:
Cc:

Description

In handling the ROSA-CGI-Parameters it is important, that first the input type
than the input coordinates are read. Normally this isn't a problem we use the
Mapserver within Zope and the Zopeserver changes the order of the parameters.
The following patch solves the problem:

-----------------------------------------------------

--- mapserv.c.orig      Wed Oct 30 10:04:22 2002
+++ mapserv.c   Wed Oct 30 10:05:25 2002
@@ -187,7 +187,7 @@
 */
 void loadForm()
 {
-  int i,j,k,n;
+  int i,j,k,n,rosaloop;
   char **tokens, *tmpstr;
   regex_t re;
   int rosa_type=0;
@@ -762,22 +762,25 @@
 /*                                                                      */
 /* -------------------------------------------------------------------- */

--------------------------------------------------------
Many greetings,

 
-    if(strcasecmp(msObj->ParamNames[i],"INPUT_TYPE") == 0)
-    { /* Rosa input type */
-        if(strcasecmp(msObj->ParamValues[i],"auto_rect") == 0) 
-        {
-            rosa_type=1; /* rectangle */
-            continue;
-        }
-

Change History (0)

Note: See TracTickets for help on using tickets.