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

画像保存パスの設定を「すべてのhttpsホストを許可する」に変更 #189

Open
1 task
dorimu0 opened this issue Nov 15, 2024 · 0 comments
Assignees
Labels
⏰ P3 추가적인 의견 제시나 소소한 개선사항 ⚙ Setting 개발 환경 세팅

Comments

@dorimu0
Copy link
Contributor

dorimu0 commented Nov 15, 2024

📝 Issueの概要

  • 画像保存パスをすべてのhttpsホストに許可するように変更する必要があります。現在、特定のホストのみ許可されているので、ホスト制限をなくせば、コードの拡張性と柔軟性を高めることができます

📚 背景情報

  • 既存のコードでは、lh3.googleusercontent.comとd3sbrbqucv1146.cloudfront.netホストの画像パスのみを許可しています。しかし、特定の画像ホストに依存せず、すべてのhttpsパスから画像を許可することで、より多くの画像ソースに柔軟に対応することができます。今回の変更は、セキュリティ上の問題がないと判断され、提案されました。

📋 具体的な作業内容

  1. 既存のイメージパスの設定でhostname: '**'を追加して、全てのhttpsホストからイメージをロードできるようにする

📎 関連するIssueやJira、ドキュメント

  • なし

🖼️ 参考スクリーンショットや図

  • なし

🔄 Issueの進行状況

  • 既存のイメージパスの設定でhostname: '**'を追加して、全てのhttpsホストからイメージをロードできるようにする
@dorimu0 dorimu0 added ⚙ Setting 개발 환경 세팅 ⏰ P3 추가적인 의견 제시나 소소한 개선사항 labels Nov 15, 2024
@dorimu0 dorimu0 self-assigned this Nov 15, 2024
@dorimu0 dorimu0 moved this to In review in ミノリ Nov 15, 2024
@dorimu0 dorimu0 moved this from In review to In progress in ミノリ Nov 15, 2024
dorimu0 added a commit to dorimu0/project_minori-next-deployment-repo that referenced this issue Nov 15, 2024
- Applying the `hostname: '**'` setting because we don't think there will be any exceptions

Related issue: YJU-OKURA#189
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⏰ P3 추가적인 의견 제시나 소소한 개선사항 ⚙ Setting 개발 환경 세팅
Projects
Status: In progress
Development

No branches or pull requests

1 participant