`isValidOrigin` cannot handle origin string with a port number
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Locate isValidOrigin and inspect its current url.Parse-based validation, then compare it with the linked Static CT API specification. Update the validation so an origin such as 127.0.0.1:8000 is accepted without a scheme while invalid origins remain rejected, and run the relevant existing tests if available.
索引モデルが issue の本文から書いたものです。
説明
Description
An origin string like '127.0.0.1:8000' should be a valid submission prefix according to the specification. However, isValidOrigin returns an error, because it cannot parse it as a schema-less URL:
Can't initialize CT HTTP Server: newLog(): origin "127.0.0.1:8000" is not valid: can't parse origin as an URL: parse "127.0.0.1:8000": first path segment in URL cannot contain colon
Adding a schema prefix of course results in an error as well.
I think using url.Parse is not the best option for this validation check because it cannot recognize a URL that includes a non-standard port if the URL does not have a scheme.
- 主要言語
- Go
- スター
- 41
- フォーク
- 20
- 平均マージ
- 1日 21時間
- マージ済み PR(30日)
- 26
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
transparency-dev/tesseract のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
transparency-dev/tesseract#879 ·
メンテナーはふだん 1 日以内に返信
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
transparency-dev/tesseract#851 ·
メンテナーはふだん 1 日以内に返信
-
Remove support for precert signing certificates対応中かも @phbnf が 4 日前に担当しました。 オープンbug
transparency-dev/tesseract#995 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
internal/ct: return errors from NewLog instead of calling os.Exit(1)対応中かも @phbnf が 25 日前に担当しました。 オープンbug
transparency-dev/tesseract#976 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Migrate Tessera MTC Log and Mirror code to the TesseraCT repo再び着手できるかも @phbnf が 34 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンenhancement
transparency-dev/tesseract#962 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
transparency-dev/tesseract の issue をすべて見る
似ている issue
-
iOS: Clear Context (/clear) and model picker fallback use negative agent check instead of isClaudeオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
go good first issue test
難易度 2/5 1〜3時間 初心者へのやさしさ 88/100
メンテナーはふだん 2 日以内に返信
-
bug github_actions good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
libr-forum/libr#77 ·
メンテナーはふだん 1 日以内に返信
-
[UI] Guard webApis against undefined window in SSR environments対応中かも @madhavzanwar が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信