Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Thumbnails don't work properly when RewriteURLs is turned on

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?

Thanks

Comments

Sign In or Register to comment.