rejetto forum

Could not generate corrrect link with file name contailing html entities.

0 Members and 1 Guest are viewing this topic.

Offline gfwuser

  • Occasional poster
  • *
    • Posts: 1
    • View Profile
version: 2.2f build 155

A file name contailing html entities such as "abc&def.txt" cause HFS to generate wrong link http://example.com/abc&def.txt .

bug #2
Some unicode characters such as  ▪  become %3F .



Offline bmartino1

  • Tireless poster
  • ****
    • Posts: 910
  • I'm only trying to help i mean no offense.
    • View Profile
    • My HFS Google Drive Shared Link
using the stable and the beta builds i have never had that issue, for example, having hfs in the root of c:/webroot/hfs.exe
and a basic html page of home.html (c/webroot/home.html) coding:
<html>
<head>
</head>
<body>
<p> test </p>
</body>
</html>
--------------------

in hfs right click the home/house and click add file chose c/webroot/home.html
hfs is now sharing the page:
the path would be

http://xxx.xxx.xxx.xxx/home.html

and or you can right click on the house (or create a new empty folder/add a real folder) and go to properties different template and paste the html code there...
The error you are recievein is either a user error or a naming error and if it is a naming error, right click it and rename it to something easier...
Files I have snagged and share can be found on my google drive:

https://drive.google.com/drive/folders/1qb4INX2pzsjmMT06YEIQk9Nv5jMu33tC?usp=sharing


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile
i confirm the problem.
it's with the template, and happens only if you see the page, not if you copy the link from the HFS window.
i will work on it.


Offline rejetto

  • Administrator
  • Tireless poster
  • *****
    • Posts: 13510
    • View Profile