-
Bug
-
Resolution: Fixed
-
Minor
-
2.7
-
MOODLE_27_STABLE
-
MOODLE_27_STABLE
-
MDL-46240-master -
- Load a page with atto editor
- Ensure the collapse icon is being displayed
- Inspect the html of the button and ensure the url to the image is valid and not double appended
Hello,
yesterday I've upgraded our moodle instalation to version 2.7. After some quick testing I found bug with generated URL for Atto collapse button icon when the icon is not shown.
This is the generated URL:
http://test.elearning.vspj.cz/theme/image.php/more/core/1404315041/http://test.elearning.vspj.cz/theme/image.php/more/atto_collapse/1404315041/icon
Icon is not shown on nginx web. server. On Apache (my localhost) is everything ok (but the source is still bad generated).
Here is my nginx configuration:
server {
|
server_name test.elearning.vspj.cz;
|
|
access_log /var/log/nginx/test.elearning.vspj.cz.access_log main;
|
error_log /var/log/nginx/test.elearning.vspj.cz.error_log info;
|
|
root /var/www/$server_name;
|
|
location / {
|
try_files $uri $uri/ =404;
|
}
|
|
location ~ \.php {
|
fastcgi_pass unix:/var/tmp/php-fpm/$server_name.sock;
|
fastcgi_index index.php;
|
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
fastcgi_param PATH_INFO $fastcgi_path_info;
|
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name$fastcgi_path_info;
|
fastcgi_read_timeout 600;
|
|
include /etc/nginx/fastcgi_params;
|
}
|
}
|