Replies: 3 comments 4 replies
-
Hello! Indeed this looks like #54 |
Beta Was this translation helpful? Give feedback.
-
Thanks for reply! I don't know much about C++, but I just figured out something and I want to share with you. It seems that the code causing this issue is The Wt::LinkType should be InternalPath . But simply change Wt::LinkType::Url to Wt::LinkType::InternalPath will cause another problem: (basing on this doc: https://webtoolkit.eu/wt/doc/reference/html/classWt_1_1WLink.html#a01bddbf88cebda0cf7aa59fd30531718)
And the url will be encoded, which is unusable. I think that is the limitation of Wt. I have figured out several possible approaches if they can help:
|
Beta Was this translation helpful? Give feedback.
-
Thanks for your report! Will check these elements. |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm new to these things, and I encountered some problems when deploying fileshelter in subpath with Nginx reverse proxy.
(Version I use: system: Ubuntu 20.04.3 LTS, Nginx: 1.18.0, fileshelter: 5.0.1)
Let's say if I have a domain
www.example.com
, and I want to host fileshelter inhttps://www.example.com/share/
.Here is my Nginx config file:
Here is part of my
fileshelter.conf
:At first, everything looks fine, except the text in download link area is something like
https://www.example.com/share//share-download/xxx-xxx-xxx
, but the link is usable and ishttps://www.example.com/share/share-download/xxx-xxx-xxx
.However, when someone want download file through "Download" button, the url becomes
https://www.example.com/share?id=xxx-xxx-xxx&p=xxxxxx
, which should behttps://www.example.com/share/share?id=xxx-xxx-xx&p=xxxxxx
.I have no idea what's going on. Because I have other app running on another port, I think it is impossible to proxy all the traffic to fileshelter
location /
and configdeploy-path="/share"
. I've tried another subpath like "file" but the download link stillhttps://www.example.com/share?id=xxx-xxx-xxx&p=xxxxxx
.And please forgive my poor English 😂.
Beta Was this translation helpful? Give feedback.
All reactions