heikoS2C / fileshare

0 stars 1 forks source link

Internal link strange behavior #3

Open spricer opened 3 years ago

spricer commented 3 years ago

Fileshare plugin works as expected. Internally I use link in article that points to Visio (.vsd) file from share. [[http://[mywiki_IP]/filesharedownload.php?file=[myfile]&something=share|Link name]] and that works OK. File gets downloaded and if you have viewer you are able to open file. However if I use dokuwiki [[this>]] option for relative link: [[this>/filesharedownload.php?file=[myfile]&something=share|Link name]] file gets downloaded but Visio viewer cannot read file with error: The Microsoft Visio Viewer cannot load the specified URL or file.

Plugin version: 2020-10-19
Dokuwiki version: 2020-07-29 "Hogfather" 
App server: Nginx 1.19.6-1
Wrapper:  PHP-FPM 7.4.14-1
OS: RHEL 7.9
spricer commented 3 years ago

I managed to add mime to dokuwiki so it working fine internally without need for plugin