NetTalk Central

Author Topic: "Referer" causes browse button problem; NetTalk 5 Server fix (pr7) in NetWeb.clw  (Read 3883 times)

vsorensen

  • Jr. Member
  • **
  • Posts: 52
    • View Profile
    • Email
I already submitted this, but perhaps a spam filter got it.

Took awhile to track down why my browse buttons weren't working in NT5.00pr7, but I finally found the cause:

In NetWeb.clw...
 
loc:onclick = sub(loc:onclick,1,iq) & '__Referer__=''+escape(location.href)+''&' & sub(loc:onclick,iq+1,size(loc:onclick))

should read
 
loc:onclick = sub(loc:onclick,1,iq) & '__Referer__=''+escape(location.href)+''&' & sub(loc:onclick,iq+1,size(loc:onclick))

Vince
 

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
noted and changed for PR8 - thanks Vince.

cheers
Bruce

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Hi Vince,

Actually I think the block of code there should be this

   if iq
     if self._RequestAjaxNow = 1
       loc:onclick = sub(loc:onclick,1,iq) & '__Referer__=''+escape(location.href)+''&' & sub(loc:onclick,iq+1,size(loc:onclick))
     else
       loc:onclick = sub(loc:onclick,1,iq) & '__Referer__=''+escape(location.href)+''&' & sub(loc:onclick,iq+1,size(loc:onclick))
     end
   end


Cheers
Bruce