rejetto forum

beta #272 - link with '?' or '=' doesnt show up!!

0 Members and 1 Guest are viewing this topic.

Offline luckman212

  • Occasional poster
  • *
    • Posts: 28
    • View Profile
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: 2059
    • View Profile
@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 luckman212

  • Occasional poster
  • *
    • Posts: 28
    • View Profile
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: 13510
    • View Profile
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
thanks!! I just installed #273 and it does seem to be working ok now!!  :)


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i'm sorry you had to wait so long, that other bug drove me crazy