diff options
author | bors-servo <release+servo@mozilla.com> | 2013-12-09 22:16:10 -0800 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2013-12-09 22:16:10 -0800 |
commit | 4b3defb2825289ff47d099c87887ba990aa2bffe (patch) | |
tree | cc25273db3eadef62920273ea4a546229988c2f8 /src/components/script/dom/htmlscriptelement.rs | |
parent | 794ea62ed9ef1b999d45f256c731795a4e5ba512 (diff) | |
parent | 2d3fa10923acac68d792e0487c185c64bdb369bb (diff) | |
download | servo-4b3defb2825289ff47d099c87887ba990aa2bffe.tar.gz servo-4b3defb2825289ff47d099c87887ba990aa2bffe.zip |
auto merge of #1353 : dhedlund/servo/resource_port_and_user, r=pcwalton
User credentials and port were not being preserved when pre-fetching path-based resources. For example, consider the following HTML:
```html
<html>
<body>
<img src="logo.png" />
</body>
```
Running the following command would try to fetch the image from `http://localhost/my-site/logo.png` and crash the browser with ConnectionRefused error:
```
$ ./servo http://foo:bar@localhost:8080/my-site/
task '<unnamed>' failed at 'Unhandled condition: io_error: rt::io::IoError{kind: ConnectionRefused, desc: "connection refused", detail: None}', /home/daniel/Programming/servo/src/compiler/rust/src/libstd/condition.rs:131
...
```
This should now be fixed.
Diffstat (limited to 'src/components/script/dom/htmlscriptelement.rs')
0 files changed, 0 insertions, 0 deletions