When i first looked at it i thought it might have something to do with the slash not being url encoded...

<@var request$short>

should really be

<@var request$short encoding="URL">



William M Conlon wrote:
I meant the former, but I think it might be better to _action=_function1&_function1=<@arg _function1> since you can't be sure how a browser might interpret the =. And of course the CGI argument parser could be splitting on '=' also.

But first validate the html and make sure it's a validly formed uri.

bill
On Apr 11, 2006, at 10:07 AM, Fogelson, Steve wrote:

Bill,

Do you mean?
_action=_function&#61;<@arg _function>

Or

_action=_function=<@arg _function encode=url>

Steve

-----Original Message-----
From: William M Conlon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, April 11, 2006 12:03 PM
To: [email protected]
Subject: Re: Witango-Talk: Possible problem with URL

I bet that uri won't validate unless the second '=' in
_action=_function=<@arg _function> is url encoded.

On Apr 11, 2006, at 9:46 AM, Fogelson, Steve wrote:

I have a URL that intermittently gives me problems. It is a follows:



<@assign request$short "<@substring str='<@appfile>' start='2'
numchars='<@calc expr="<@length str=<@appfile>> - 1">'>">

<a href="<@var request$SslUrl>Shopper/Lookup.taf?
_function=input&amp;_target=<@var request$short>&amp;<@if '<@length
str=<@arg _action>> = 0'>_action=_function=<@arg
_function><@else>_action=<@arg _action></@if>&amp;_ID=<@arg
_ID>">Sign In</a>



It generates the following:

https://www.catalog.nextinnovations.net/Shopper/Lookup.taf?
_function=input&_target=Product/
product.taf&_action=_function=detail&_ID=174



Sometimes it drops the arguments beyond Product/product.taf. I
checked the Witango logs as I thought it may have something to do
with vars timing out, but that isn't it as the requests are within
minutes of each other.



Could it be that "_function=input" and "_action=_function=detail"
don't get along? With some browsers maybe?



If so, do you think _action=<@SQ>_function=detail<@SQ> or
_action=<@DQ>_function=detail<@DQ> would fix it?



Thanks



Steve Fogelson

Internet Commerce Solutions

______________________________________________________________________

__ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Bill

William M. Conlon, P.E., Ph.D.
To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306
    vox:  650.327.2175 (direct)
    fax:  650.329.8335
mobile:  650.906.9929
e-mail:  mailto:[EMAIL PROTECTED]
    web:  http://www.tothept.com

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Bill

William M. Conlon, P.E., Ph.D.
To the Point
345 California Avenue Suite 2
Palo Alto, CA 94306
   vox:  650.327.2175 (direct)
   fax:  650.329.8335
mobile:  650.906.9929
e-mail:  mailto:[EMAIL PROTECTED]
   web:  http://www.tothept.com

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf

Reply via email to