diff options
author | Eitan Mosenkis <eitan@mosenkis.net> | 2015-12-08 23:05:56 +0200 |
---|---|---|
committer | Dongie Agnir <dongie.agnir@gmail.com> | 2016-04-01 16:15:54 -1000 |
commit | 9d6d1c66b894d37e902cef094659898c1362f5e8 (patch) | |
tree | 390402b7e649abd6638f5494fc8aee9def98779b /components/script/cors.rs | |
parent | ae56187d48cd419465ed47aba6f90015b59310c7 (diff) | |
download | servo-9d6d1c66b894d37e902cef094659898c1362f5e8.tar.gz servo-9d6d1c66b894d37e902cef094659898c1362f5e8.zip |
Replace tabs with spaces.
Diffstat (limited to 'components/script/cors.rs')
-rw-r--r-- | components/script/cors.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/script/cors.rs b/components/script/cors.rs index 21c3d3b38a7..f60dc3a7c78 100644 --- a/components/script/cors.rs +++ b/components/script/cors.rs @@ -74,8 +74,8 @@ impl CORSRequest { match &*destination.scheme { // As per (https://fetch.spec.whatwg.org/#main-fetch 5.1.9), about URLs can be fetched // the same as a basic request. - // TODO: (security-sensitive) restrict the available pages to about:blank and - // about:unicorn (See https://fetch.spec.whatwg.org/#concept-basic-fetch). + // TODO: (security-sensitive) restrict the available pages to about:blank and + // about:unicorn (See https://fetch.spec.whatwg.org/#concept-basic-fetch). "about" => Ok(None), // As per (https://fetch.spec.whatwg.org/#main-fetch 5.1.9), data URLs can be fetched // the same as a basic request if the request's same-origin data-URL flag is set. |