Users running a non-download version of Vanilla (pulled from github), on branch release/2019.016 or master from the last 2 weeks should upgrade to release/2019.017 or latest master for security reasons. Downloaded official open sources releases are not affected.
Please upgrade here. These earlier versions are no longer being updated and have security issues.

Thumbnails don't work properly when RewriteURLs is turned on

This discussion is related to the fileupload addon.

running on nginx with the following rewrites:

location / {
try_files $uri $uri/ @forum;

location @forum {
rewrite ^/(.+)$ /index.php?p=$1 last;

When RewriteURLs = FALSE, then previews show properly and thumbnails are saved in /uploads/thumbnails/FileUpload. However when RewriteURLs = TRUE then thumbnails are not saved and the location it is looking for the thumbnail in is /utility/thumbnail/FileUpload, which doesn't exist.

How is the thumbnail path being generated and why does it change with RewriteURLs turned on?



Sign In or Register to comment.