Oops..
This is really a bug
To fix it, you can insert additional check in ParseCgiQuery
    if (strcmp(token + strlen(token) - 3, "=on") == 0)
    {
        ...
    }

It happened to work, only if spN=off were not used at all.

Alexander.

----- Original Message -----
From: "Sergey V. Yershov" <[EMAIL PROTECTED]>
To: "Alexander F. Avdonkin" <[EMAIL PROTECTED]>
Sent: Wednesday, March 14, 2001 10:10 PM
Subject: Re[2]: [aseek-users] Troubles with web spaces


> Hello Alexander,
>
> Aspseek placed on Linux 6.0.
> Compiled with -o0
>
> trouble was in function ParseCgiQuery
> in anyway independed from on or off in psN=
> sscanf returned 1 what of course right because 1 parameter retrived
> from passed token, but strange what it was rerurned even part of
> string doesn't mach :-|
>
> Wednesday, March 14, 2001, 4:47:20 PM, you wrote:
>
> AFA> How have you created web-spaces ?
> AFA> Can you provide URL from which we can try to search ?
> AFA> Check if space files are created by looking at
> AFA> <ASPseekDir>/var/<DBName>/subsets/space<N> where <N> is 1..2
> AFA> If those files are absent, check your table "spaces" and if it is not
empty,
> AFA> then run "index -B" to generate files.
>
> AFA> Alexander.
> >>
> >>   I was create 2 web spaces and expected what if i
> >>   pointed in URL wich space i want to use (like ?sp1=on&sp2=off)
> >>   server will return content from only one space? but in anyway i was
> >>   get content from both of spaces.
> >>
> >>   Where was i misunderstood docs ?
> >>
> >> --
> >> Best regards,
> >>  Sergey                          mailto:[EMAIL PROTECTED]
> >>
> >>
>
>
>
>
> --
> Best regards,
>  Sergey                            mailto:[EMAIL PROTECTED]
>
>

Reply via email to