Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: errors loading secure uploads when secure media is disabled #13047

Merged
merged 1 commit into from
Jun 8, 2021

Conversation

nlalonde
Copy link
Member

After restoring a database from a site that had secure media configured and disabling the secure_media setting, any page with an upload will raise errors. This change will allow the uploads to be loaded from the local files. I'm not sure if this is the correct fix, so someone who knows more about secure media should review.

@nlalonde nlalonde added the 2.8 label May 12, 2021
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/errors-on-exporting-data-from-teams-to-self-hosted-discourse-on-digital-ocean/189789/40

@SamSaffron
Copy link
Member

I think this change looks safe to me @martin-brennan shall we merge it?

@nlalonde nlalonde marked this pull request as ready for review June 8, 2021 17:25
@nlalonde nlalonde merged commit c2c647b into master Jun 8, 2021
@nlalonde nlalonde deleted the neil-12 branch June 8, 2021 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants