rejetto forum

Software => HFS ~ HTTP File Server => Bug reports => Topic started by: gfwuser on February 11, 2014, 02:48:44 PM

Title: Could not generate corrrect link with file name contailing html entities.
Post by: gfwuser on February 11, 2014, 02:48:44 PM
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 .

Title: Re: Could not generate corrrect link with file name contailing html entities.
Post by: bmartino1 on February 14, 2014, 04:38:13 PM
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...
Title: Re: Could not generate corrrect link with file name contailing html entities.
Post by: rejetto on February 15, 2014, 07:05:55 PM
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.
Title: Re: Could not generate corrrect link with file name contailing html entities.
Post by: rejetto on February 16, 2014, 12:52:21 PM
this problem is addressed by 2.3 build 288