ZeroNet icon indicating copy to clipboard operation
ZeroNet copied to clipboard

False message (Not found) when visting subpage of a not yet downloaded site

Open slrslr opened this issue 2 years ago • 5 comments

Open http://127.0.0.1:43110/1GNTAKCimBv5xEnt7QvkDn8sTkEPj7ZYTL/?klu9

If you have not yet downloaded that site, then that sub page/URL with parameter will cause error:

This URL is invalid. Are you sure you wrote it correctly?

Maybe on other sites the error is "Not found".

Yet after you have the site downloaded completely, then it will redirect properly.

Can you make Zeronet better deal with sub page links in case site was not yet downloaded? Like it will show site download progress, do refreshing automatically so the user

  1. is not mistaken that he ended on wrong non existing URL (while URL is correct and he/she only not yet downloaded the site)
  2. is not left in uncertainty by not telling him what is being done (site download) showing possibly what is being done, progress, site name, description and the button to stop the site download.

slrslr avatar May 12 '22 10:05 slrslr

for me, url you just gave downloads the site.

canewsin avatar May 12 '22 11:05 canewsin

For me too, but I have described different problem, and that is mentioned message which confuse people. ("This URL is invalid." or "Not found" on other sites?)

When you delete that site and visit the mentioned URL with the klu9 parameter, then you do not see mine mentioned message "This URL is invalid." ? I have tried it on ZeroNetX rev 4585

slrslr avatar May 12 '22 11:05 slrslr

I tried what you mentioned. Could you provide a screenshot of Error Message, is it shown in dialogue or console log ?

canewsin avatar May 12 '22 11:05 canewsin

It is message provided by the site, not by ZeroNet. But i have seen "Not found" kind of errors on other sites too.

slrslr avatar May 12 '22 11:05 slrslr

Will try to investigate then, thanks for reporting. If possible provide more related data, so that issue can be fixed soon.

canewsin avatar May 12 '22 11:05 canewsin