Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Port number is dropped from Location: header as parsed by client #16

Closed
rust-lang/rust
#9927
@kmcallister

Description

@kmcallister

Steps to reproduce:

$ printf 'HTTP/1.0 301 Moved Permanently\r\nLocation: http://localhost:8080/foo\r\n\r\n' | nc -l -p 8080 &
$ RUST_LOG=net::http_loader ./servo http://127.0.0.1:8080

Servo sees a header.header_value() of http://localhost/foo which is not what the server sent.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions