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

Don't allow url based uploads #1370

Merged
merged 1 commit into from
Oct 3, 2024
Merged

Conversation

michaeljguarino
Copy link
Member

This is technically somewhat insecure (not that bad, since requests are auto-ignored if not jpeg/png files). Should also think of a way to refactor the avatar upload out of the oidc login path entirely, and move it async, just not a priority.

Test Plan

regression

Checklist

  • If required, I have updated the Plural documentation accordingly.
  • I have added tests to cover my changes.
  • I have added a meaningful title and summary to convey the impact of this PR to a user.
  • I have added relevant labels to this PR to help with categorization for release notes.

This is technically somewhat insecure (not that bad, since requests are auto-ignored if not jpeg/png files).  Should also think of a way to refactor the avatar upload out of the oidc login path entirely, and move it async, just not a priority.
@michaeljguarino michaeljguarino added the enhancement New feature or request label Oct 1, 2024
@michaeljguarino michaeljguarino requested a review from a team October 1, 2024 03:52
@michaeljguarino michaeljguarino merged commit 6a735f7 into master Oct 3, 2024
15 checks passed
@michaeljguarino michaeljguarino deleted the only-allow-avatar-urls-oidc branch October 3, 2024 00:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request hotfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant