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

0 Members and 1 Guest are viewing this topic.

Offline luckman212

  • Occasional poster
  • *
  • Posts: 28
    • View Profile
beta #272 - link with '?' or '=' doesnt show up!!
« on: December 14, 2010, 09: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, 01:23:38 PM by luckman212 »

Offline Mars

  • Operator
  • Tireless poster
  • *****
  • Posts: 1880
    • View Profile
Re: beta #272 - link with '?' or '=' doesnt show up!!
« Reply #1 on: December 15, 2010, 05:43:05 PM »
@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, 08:02:56 PM by Mars »

Offline rejetto

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

Offline luckman212

  • Occasional poster
  • *
  • Posts: 28
    • View Profile
Re: beta #272 - link with '?' or '=' doesnt show up!!
« Reply #3 on: December 17, 2010, 05:05:24 AM »
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
  • Tireless poster
  • *
  • Posts: 12949
    • View Profile
Re: beta #272 - link with '?' or '=' doesnt show up!!
« Reply #4 on: December 22, 2010, 12:16:20 AM »
yes, #273 will have the fix.
i'm just waiting to find a fix for the other (upload) bug.

Offline luckman212

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

Offline rejetto

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