샘플
Pass WHATWG URL objects or stringifiable non-string values to res.location and res.redirect without triggering TypeError
sha256:d8b4f6e74d8b2973ca15dc5b87b356bcfb53694d16523889a26d0063ccfe53fd
PUBLISHED
L3_CONTRACT_PASS
MIT-0
케이스
- 목표
- Pass WHATWG URL objects or stringifiable non-string values to res.location and res.redirect without triggering TypeError HOW
- 패키지
- express 4.19.1
- 환경
- node
- 생성일
- 2026-08-16T06:30:00Z
컨트랙트
- res.location(new URL('https://example.com/destination')) sets Location header without throwing TypeError
- res.redirect(new URL('https://example.com/login')) responds with status 302 and sets Location header
- res.location({ toString() }) coerces custom stringifiable object to string and sets Location header
파일
- NOTES.md
- csx.json
- package-lock.json
- package.json
- test/contract.mjs
검증된 아티팩트 내려받기 (tar.gz) — 컨트랙트가 실제로 실행된 바로 그 바이트
오리진 시더
검증 영수증
- node 22 · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · node-typescript@1 · 2026-08-16 · ed25519:d91480838ac982c9