Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.7.1
-
Component/s: Resource
-
Labels:None
-
Environment:HideServer: OS: Linux Ubuntu 6.10, Kernel: 2.6.17, Web server: Apache 1.3.34 + PHP 4.4.2, DB server: MySQL 5.0.22, Moodle 1.7.1 (2006101010) installed from the Debian package moodle_1.7.1-1_all.deb.
Client: Linux Ubuntu 6.06 + Firefox 1.5.0.7 + Adobe Reader 7.0.8 / Windows XP + Internet Explorer 6.0.2900 + Adobe Reader 7.0.8ShowServer: OS: Linux Ubuntu 6.10, Kernel: 2.6.17, Web server: Apache 1.3.34 + PHP 4.4.2, DB server: MySQL 5.0.22, Moodle 1.7.1 (2006101010) installed from the Debian package moodle_1.7.1-1_all.deb. Client: Linux Ubuntu 6.06 + Firefox 1.5.0.7 + Adobe Reader 7.0.8 / Windows XP + Internet Explorer 6.0.2900 + Adobe Reader 7.0.8
-
Affected Branches:MOODLE_17_STABLE
-
Fixed Branches:MOODLE_17_STABLE, MOODLE_18_STABLE
Description
PDF byteserving (one page at a time viewing): no need to download the whole file to view the PDF file inside the browser with the Adobe Reader plugin.
It was OK in previous versions of Moodle, but not sure since which version the bug is there (or back).
The problem is located in /usr/share/moodle/lib/filelib.php:
With Moodle v1.7.1 we have filelib.php v1.30.2.3 which has the problem.
I replaced the filelib.php by an older version (v1.15), an the problem is not there anymore (PDF byteserving is working fine).
I guess this is caused by the workaround for the famous XSS bug in Adobe readers
Could you send me a link to some large sample PDF and user/password via email? ( skodak at moodle dot org)