diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-11-19 15:06:02 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-19 15:06:02 -0500 |
commit | f1dd31f70440fa9c7a40525bd1e03eede568f74d (patch) | |
tree | 903ebb4fb5ebd492dc63d4f21c522b4f23a85d7e /components/script/fetch.rs | |
parent | 1ac6f435c8637d01279b51fecb535a19b639aea5 (diff) | |
parent | 1d6fe65401383bd01d30368d32eedcd908fa79ad (diff) | |
download | servo-f1dd31f70440fa9c7a40525bd1e03eede568f74d.tar.gz servo-f1dd31f70440fa9c7a40525bd1e03eede568f74d.zip |
Auto merge of #22198 - Darkspirit:mpl_https, r=jdm
Update MPL license to https
Current MPL license (https://www.mozilla.org/en-US/MPL/2.0/) contains an https link:
> This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
This change would not remove the summary above the LICENSE file. Tested [here](https://github.com/Darkspirit/darkspirit.github.io/blob/master/LICENSE).
I didn't update the `tests` folder with this change because I haven't yet looked into what needs to be considered with regards to WPT. Let's do that with a separate PR.
This change is splitted into multiple parts to prevent any "Load diff" button instead of a preview and was made with following commands:
```
git checkout -b mpl_https
kate python/tidy/servo_tidy/tidy.py
kate python/tidy/servo_tidy/licenseck.py
git add *
git commit -m "servo-tidy: Allow to use MPL with http and https"
find etc LICENSE mach ports python support -type f -not -path "python/tidy/servo_tidy/licenseck.py" -print0 | xargs -0 sed -i 's,http://mozilla.org/MPL/2.0/,https://mozilla.org/MPL/2.0/,g'
git add *
git commit -m "Update MPL license to https (part 1)"
find components/script/dom/webidls -type f -print0 | xargs -0 sed -i 's,http://mozilla.org/MPL/2.0/,https://mozilla.org/MPL/2.0/,g'
git add *
git commit -m "Update MPL license to https (part 2)"
find components/script -type f -print0 | xargs -0 sed -i 's,http://mozilla.org/MPL/2.0/,https://mozilla.org/MPL/2.0/,g'
git add *
git commit -m "Update MPL license to https (part 3)"
find components -type f -print0 | xargs -0 sed -i 's,http://mozilla.org/MPL/2.0/,https://mozilla.org/MPL/2.0/,g'
git add *
git commit -m "Update MPL license to https (part 4)"
./mach test-tidy --all
git push origin HEAD
```
---
- [x] `./mach test-tidy` does not report any errors
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/22198)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/fetch.rs')
-rw-r--r-- | components/script/fetch.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/fetch.rs b/components/script/fetch.rs index 01bc19945a8..49e441740bc 100644 --- a/components/script/fetch.rs +++ b/components/script/fetch.rs @@ -1,6 +1,6 @@ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ + * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ use crate::dom::bindings::codegen::Bindings::RequestBinding::RequestInfo; use crate::dom::bindings::codegen::Bindings::RequestBinding::RequestInit; |