`IfNoneMatch::decode()` returns and empty `ETag` even if the iterator passed to it is empty
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- rust
- 領域
- networking
調査の方向性
Start at the IfNoneMatch::decode entry point and reproduce the behavior with the empty-iterator test shown in the issue. Trace how an empty iterator is handled, then verify that an empty input returns an error and that valid If-None-Match values still decode successfully.
索引モデルが issue の本文から書いたものです。
説明
use headers::{IfNoneMatch, Header};
#[test]
fn test_empty_if_none_match() {
let mut iter = std::iter::empty();
let if_none_match = IfNoneMatch::decode(&mut iter);
assert!(if_none_match.is_err()); // This assert fails. `decode` returns `Ok(IfNoneMatch(Tags("")))`
}
This means that even if there's no IfNoneMatch header in the request, this'll still report it as present.
- 主要言語
- Rust
- スター
- 200
- フォーク
- 108
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hyperium/headers のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
-
Range::bytes and ContentRange::bytes do unchecked u64 arithmetic on bounds対応中かも @youdie006 が 57 日前に担当しました。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
-
From<SystemTime> for HttpDate panics on times before 1970 or after year 9999対応中かも @SAY-5 が 76 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
Link supportオープン
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
hyperium/headers の issue をすべて見る
似ている issue
-
bug user-priority/P2
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
rescript-lang/rescript#8765 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
nautechsystems/nautilus_trader#5287 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
farion1231/cc-switch#8072 ·
メンテナーはふだん 1 日以内に返信
-
Python 3.15 support対応中かも @amnesiaof が今日担当しました。 オープンL: python L: python:uv
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
dependabot/dependabot-core#16524 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信