Page 2 of 2

Re: Quick file link

Posted: 13 Feb 2019, 12:20
by Jan
Hi, yes, seems like the behaviour changed in newest Joomla!

Please open the file:
components\com_phocadownload\views\download\view.html.php

on line 116 change
FROM:

Code: Select all

if (!JSession::checkToken()) {
TO:

Code: Select all

if (!JSession::checkToken('request')) {
and let me know if this work (it does not solve the additional slashes, I need to first test and find in which cases this could happen - for me it works OK, so I need to do more tests).

Jan

Re: Quick file link

Posted: 13 Feb 2019, 12:43
by fmeneuhe
Hi,
The double slash is still in, but now it works, the invalid token is not shown any more.

Re: Quick file link

Posted: 13 Feb 2019, 23:23
by Jan
Ok, thank you for the info, I will try to find the problem with double slash and will try to change the code for next version.

Jan

Re: Quick file link

Posted: 19 Apr 2019, 18:57
by Jan
Hi, should be OK in version 3.1.8
https://www.phoca.cz/news/1028-phoca-do ... 8-released
Jan

Re: Quick file link

Posted: 19 Apr 2019, 20:26
by fmeneuhe
Thanks