[Bug]: host-rewrite policy documentation lists fewer allowed host characters than the policy accepts
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 91/100
- issue の種類
- ドキュメント
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- go
調査の方向性
docs/host-rewrite/v1.1/docs/host-rewrite.md の「User Parameters (API Definition)」セクションを読み、許可される文字の説明を policies/host-rewrite/policy-definition.yaml のパターンと比較してください。スキーマですでに受け入れられているコロンを含めるよう、ドキュメントを更新してください。パラメータ表に、backend.example.com:8080 のようなポートを含め、ホストで受け入れられる文字が正確に記載されていれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Please select the area the issue is related to
Gateway
Please select the aspect the issue is related to
Aspect/Other (Anything else which does not match above categories)
Description
The parameter table in the host-rewrite policy documentation says the host value allows letters, digits, - and .. The policy's schema also allows :.
- Doc:
docs/host-rewrite/v1.1/docs/host-rewrite.mdin wso2/gateway-controllers, section "User Parameters (API Definition)": "Allowed characters: letters, digits,-and.." - Schema:
policies/host-rewrite/policy-definition.yaml,pattern: "^[a-zA-Z0-9.:-]+$".
The doc's own Notes section says a port may be included, for example backend.example.com:8080. That needs :. The integration tests confirm a host with a port is accepted and sent upstream unchanged.
Steps to Reproduce
- Read the parameter table in
docs/host-rewrite/v1.1/docs/host-rewrite.md. - Compare it with the
patterninpolicies/host-rewrite/policy-definition.yaml. - Deploy an API with host-rewrite
host: backend.example.com:8080andhostRewrite: manualon the upstream. - The API is accepted, and the upstream receives
Host: backend.example.com:8080.
Severity Level of the Issue
Severity/Trivial (Cosmetic issues. Can be fixed in future releases)
Environment Details (with versions)
- host-rewrite policy v1.1.0, built from wso2/gateway-controllers source (commit
4f1520a8). Doc v1.1. - Gateway 1.1.0, 1.2.0 and main (
main-a7e8774).
- 主要言語
- Go
- スター
- 85
- フォーク
- 137
- 平均マージ
- 1日 12時間
- マージ済み PR(30日)
- 247
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
wso2/api-platform のほかの issue
-
Area/DeveloperPortal Aspect/UI Severity/Minor Type/Bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
wso2/api-platform#4369 ·
メンテナーはふだん 1 日以内に返信
-
Area/Gateway Aspect/API Severity/Minor Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
wso2/api-platform#4348 ·
メンテナーはふだん 1 日以内に返信
-
Aspect/AI Aspect/API. Severity/Major
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
wso2/api-platform#4343 ·
メンテナーはふだん 1 日以内に返信
-
Area/Policies Aspect/Configuration Severity/Minor Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
wso2/api-platform#4330 ·
メンテナーはふだん 1 日以内に返信
-
Area/Policies Aspect/API Aspect/Configuration Severity/Minor Type/Bug
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
wso2/api-platform#4329 ·
メンテナーはふだん 1 日以内に返信
wso2/api-platform の issue をすべて見る
似ている issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 73/100
keyxmakerx/Chronicle#2285 ·
メンテナーはふだん 1 日以内に返信
-
vLLM metrics adapter tests start the adapter twice and race on its request counters対応中かも @bhargavchintam が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
llm-d/llm-d-inference-sim#933 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
spellshift/realm#2509 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
lionsoul2014/ip2region#552 ·
メンテナーはふだん 1 日以内に返信