Author Topic: beta #272 - link with '?' or '=' doesnt show up!!  (Read 3439 times)

0 Members and 1 Guest are viewing this topic.

Offline luckman212

  • Regular poster
  • **
  • Posts: 28
    • View Profile
beta #272 - link with '?' or '=' doesnt show up!!
« on: December 14, 2010, 03:43:04 PM »
hi, i've got HFS beta #272 running, and have a 'real' folder defined with some links in it.   One link in particular does not show up:
http://support.kaspersky.com/viruses/solutions?qid=208280684

when I define this, the link disappears.
if I change it to just
http://support.kaspersky.com/viruses/

then it magically comes back.
so it seems like maybe ? sign or maybe '=' sign is causing problem for HFS to parse the link? not sure.  Can it be fixed?
thanks!!
« Last Edit: December 15, 2010, 07:23:38 AM by luckman212 »

Offline Mars

  • Operator
  • Insane poster
  • *****
  • Posts: 1788
  • Country: 00
    • View Profile
Re: beta #272 - link with '?' or '=' doesnt show up!!
« Reply #1 on: December 15, 2010, 11:43:05 AM »
@luckman212
There is not a bug with the sign '=' but only with the sign '?'

@rejetto

the problem does'nt exist until build 269, links with ? or = are not working with build 270, 271 or 272. ;)

by creating two links with resources as
 www.rejetto.com/forum/
 www.rejetto.com/forum/?

only the first is on the list.

I found a way to resolve the bug with the following line which exists effectively since the version 270

  if  ansiContainsStr(f.resource, '?') then exit; // unicode filename?

Must be replaced by the line updated below

Quote
  procedure handleItem(f:Tfile);
  var
    type_, s, url, fingerprint, itemFolder: string;
    nonPerc: TStringDynArray;
  begin
  //We have to make an exception with virtual links
  if not f.isLink and ansiContainsStr(f.resource, '?') then exit; // unicode filename?   //mod by mars

  if f.size > 0 then inc(totalBytes, f.size);
....


@ rejetto : Probably in the following build ? ;)
« Last Edit: December 15, 2010, 02:02:56 PM by Mars »
FRENCH MEMBER : Si vous comprenez la langue française,  n'hésitez pas à l'utiliser pour une meilleure aide de ma part

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12832
  • Country: it
    • View Profile
Re: beta #272 - link with '?' or '=' doesnt show up!!
« Reply #2 on: December 15, 2010, 03:09:30 PM »
that's it, thank you mars

Offline luckman212

  • Regular poster
  • **
  • Posts: 28
    • View Profile
Re: beta #272 - link with '?' or '=' doesnt show up!!
« Reply #3 on: December 16, 2010, 11:05:24 PM »
thanks for checking it out guys!!  love HFS!
does this mean the fix is coming in 273?
for now i take links with '?' and convert them with bit.ly as a workaround... ;)

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12832
  • Country: it
    • View Profile
Re: beta #272 - link with '?' or '=' doesnt show up!!
« Reply #4 on: December 21, 2010, 06:16:20 PM »
yes, #273 will have the fix.
i'm just waiting to find a fix for the other (upload) bug.

Offline luckman212

  • Regular poster
  • **
  • Posts: 28
    • View Profile
Re: beta #272 - link with '?' or '=' doesnt show up!!
« Reply #5 on: January 25, 2011, 03:25:54 PM »
thanks!! I just installed #273 and it does seem to be working ok now!!  :)

Offline rejetto

  • Administrator
  • Insane programmer
  • *
  • Posts: 12832
  • Country: it
    • View Profile
Re: beta #272 - link with '?' or '=' doesnt show up!!
« Reply #6 on: January 29, 2011, 01:03:16 PM »
i'm sorry you had to wait so long, that other bug drove me crazy