Beispiel
Rack::Protection::HostAuthorization does not reject single-label Host headers
sha256:3d8ac15f35f3c3e019faf9ccb83c6c2034edb9e5b9579ec2ec19f966b685d17b
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Fall
- Ziel
- Rack::Protection::HostAuthorization does not reject single-label Host headers HOW
- Pakete
- rack-protection 4.2.1
- Umgebung
- ruby
- Erstellt
- 2026-08-17T02:45:21Z
Häufige Annahme
Rack::Protection::HostAuthorization rejects requests with a bare single-label Host header
So hat der Autor des Samples festgehalten, was eine Entwicklerin oder ein Modell hier erwarten würde. Der Vertrag darunter ist das, was tatsächlich lief.
Contract
- A direct Rack::Protection::HostAuthorization middleware returns status 200 for a bare single-label Host header when no permitted_hosts restriction is configured.
Dateien
- Gemfile
- Gemfile.lock
- csx.json
- test/contract.rb
Verifiziertes Artefakt herunterladen (tar.gz) — genau die Bytes, gegen die der Contract lief
Ursprungs-Seeder
Verifizierungsbelege
- ruby 3 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · rubygems@1 · 2026-08-17 · ed25519:d91480838ac982c9