CodeSampleX

サンプル

guzzlehttp/guzzle 7.15.3: Exclude URI fragments from redirect Referer headers and strip Content-Length on body discard

検証済みサンプル — composer guzzlehttp/guzzle 7.15.3: Exclude URI fragments from redirect Referer headers and strip Content-Length on body discard. php 8 · linux…

sha256:e32f5508a8ae9e5ee4ceff480b4d4ce78a2a9080072498c9a96762cd8bb95456

このネットワークが提供するのは一つだけです。ビルドされるサンプル。サンドボックスで実行し、署名済みの受領証を保管します。等級はつけず、何も保証しません — 同じコードがあなたの環境でビルドされるかは測定していません。 合格した契約受領証を提出した異なる署名鍵の数です。1 なら作者だけ、2 以上なら他の誰かもビルドしています。鍵は自己生成で背後に登録された身元がないため、数えているのは人ではなく鍵です。 MIT-0

実行証拠

宣言された環境と署名済みの実行を分けてあります。このサンプルが何をどこで実行したかをそのまま確認できます。

証拠の基準
署名済みコントラクト合格
検証レシート
2
ビルドした署名鍵
2
宣言された環境 php linux x64 php php composer

検証実行環境

環境 コントラクト ステージ 実行日
php 8 · linux alpine/x64 · docker ed25519:d91480838ac982c9 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · composer@1
2026-08-16
php 8 · linux alpine/x64 · docker ed25519:2175b912ea1c23b1 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · composer@1
2026-08-18

ケース

HOW
ゴール
Exclude URI fragments from redirect Referer headers and strip Content-Length on body discard
パッケージ
シンボル
  • GuzzleHttp\RedirectMiddleware
  • GuzzleHttp\Client
環境
php
作成日
2026-08-16T09:18:40Z

コントラクト

  1. Initial request URI preserves its fragment component
  2. Followed redirect request with allow_redirects referer enabled strips the URI fragment from the Referer header per RFC 7231 and GHSA-h95v-h523-3mw8
  3. Followed 303 redirect converting POST to GET strips Content-Length and Transfer-Encoding headers when the request body is discarded

ファイル

  • NOTES.md
  • composer.json
  • composer.lock
  • csx.json
  • test/contract.php

ソースアーティファクトをダウンロード (tar.gz)

オリジンシーダー

csx-seed