Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

server: Make the CORS allowed origin configurable

オープン 初心者向け
#670 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 4 日以内に返信

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
80/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
docker, python

調査の方向性

リンク先の59~70行にあるserver/docker/common/entrypoint.shから始め、API_BASE_PATHなどのオプションを説明しているサーバーのREADMEを探します。許可するオリジンを環境変数で設定可能にし、デフォルト値を*として、そのオプションをドキュメントに記載します。カスタムイメージをビルドせずに運用者がオリジンを設定でき、デフォルトの動作が変わらなければ完了です。

索引モデルが issue の本文から書いたものです。

説明

enhancement good-first-issue server

The Docker images always send Access-Control-Allow-Origin: * and
allow all methods:

https://github.com/eclipse-basyx/basyx-python-sdk/blob/2773ac069d3163cbbd32c3c634813d38bbe521ad/server/docker/common/entrypoint.sh#L59-L70

Expected behavior: Operators can restrict which origins may call
the API, as with other server options (API_BASE_PATH, ...).

Actual behavior: The origin is hard-coded to *; changing it
needs a custom image.

Environment: develop @ 2773ac06, all three server images.

Possible fix: Read the origin from an env variable (e.g.
CORS_ALLOW_ORIGIN, default * to keep the current behavior) and
document it in the server README next to the other options.

主要言語
Python
スター
106
フォーク
59
平均マージ
4日 1時間
マージ済み PR(30日)
3

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

eclipse-basyx/basyx-python-sdk のほかの issue

eclipse-basyx/basyx-python-sdk の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。