FIX: inline_uploads and subfolder (PR #8076)

  • if subfolder, also look for images with a path containing cdn_url + relative_url_root

GitHub

You’ve signed the CLA, Supermathie. Thank you! This pull request is ready for review.

Seems good but it could use a spec?

1 Like
      regexps << /(#{cdn_url}#{GlobalSetting.relative_url_root}\/uploads\/#{db}#{UPLOAD_REGEXP_PATTERN})/ if GlobalSetting.relative_url_root.present?
1 Like

Agree we need a spec here, but the fixes are kind of urgent. Will see if I can sort this out.

2 Likes