Abuse Report bug in 3.4

robertdcbrown3292

New Member
YetiShare User
Dec 3, 2013
7
0
0
When submitting an error report, I can not submit links that are https://
If I remove https:// completely or make it http://, the submitted report goes through

When submitting a secure link, I get the error below
Could not find a file with that url, please check and try again.
Since my site in it's entirety is SSL, this may be an issue.

Report URL
https://www.cramit.net/report_file.html

Test file
https://www.cramit.net/39b4a8a268ad787a
 

adam

Administrator
Staff member
Dec 5, 2009
2,043
108
63
Thanks for reporting this. I've found and fixed it in the current release.

You can patch it by finding this function in includes/class.file.php:

static function loadByFullUrl($fileUrl)

Then replace the first line:

$fileUrl = str_replace(array('http://', 'http://'), '', strtolower($fileUrl));

With this:

$fileUrl = str_replace(array('http://', 'https://'), '', strtolower($fileUrl));