[ic] Urlencode problem

Götz Verdieck interchange-users@icdevgroup.org
Wed Jul 10 06:34:01 2002


Hi list,

A simple query drives me mad !

This is my code:
[query sql="select page,fk_area,name,feld_wahl,search from cat where fk_area
=[cgi fk_area]"
type=list
more=1
ml=10]
  [on_match]Match:<br>[/on_match]
  [no_match]No match<br>[/no_match]
  [list]
   [page href="[sql-param page]"
            form="fk_area=[sql-param fk_area]
                  name=[sql-param name]
                  feld_wahl=[sql-param feld_wahl]
                  search=[sql-param search]"
   ][sql-param name] </A>
[/list]
[more_list]
[more]
[/more_list]
[/query]

This is the url output:

<A 
HREF="http://127.0.0.1/cgi-bin/kabel_shop_local/einleiter?mv_session_id=qNX=
C
mCVj&mv_pc=747&fk_area=00050%0d%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20
%20%20%20%20%20%20%20%20%20name%3dYV%0d%20%20%20%20%20%20%20%20%20%20%20%20%
20%20%20%20%20%20%20%20%20%20%20%20feld_wahl%3dq_leiter%0d%20%20%20%20%20%20
%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20search%3d0%2e30">YV
</A>


This is what I would like to see:

<A 
HREF="http://127.0.0.1/cgi-bin/kabel_shop_local/einleiter?mv_session_id=qNX=
C
mCVj&mv_pc=747&fk_area=00050&name=YV&feld_wahl&q_leiter&search=0.30">YV </A>

So the & is missing between the cgi_var=value pairs.
And I can not access the values [cgi fk_area],[cgi name].....

I think it has to do somethin with urlencoding ;)
My system: IC 4.85; Mac OS X 10.15
 
Any hints ?
Thanks in advance.

Götz Verdieck

==============================
Goetz.Verdieck@com4office.de