Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Revert "Replace time with std::time in components/net (#31079)" (#31120) | Martin Robinson | 2024-01-18 | 1 | -17/+9 |
| | | | This reverts commit 580062228bb083ccdc2144a43491bc4f916c57ad. | ||||
* | Replace time with std::time in components/net (#31079) | Taym Haddadi | 2024-01-17 | 1 | -9/+17 |
| | | | | | | | | | | | | | * Replace time with std::time in components/net Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> * Fix cookie::test_sort_order test Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> --------- Signed-off-by: Bentaimia Haddadi <haddadi.taym@gmail.com> | ||||
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -2/+3 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | remove `extern crate` (#30311) | Samson | 2023-09-08 | 1 | -0/+2 |
| | | | | | | | | | | | * remove extern crate * Update components/script_plugins/lib.rs Co-authored-by: Martin Robinson <mrobinson@igalia.com> --------- Co-authored-by: Martin Robinson <mrobinson@igalia.com> | ||||
* | Remove customised implementation of hsts headers. (#30046) | shanehandley | 2023-07-31 | 1 | -93/+9 |
| | | | This looks to have originally been implemented due to missing functionality in the headers crate, which has since been added and released. | ||||
* | Fix HSTS | Jan Andre Ikenmeyer | 2020-01-07 | 1 | -9/+152 |
| | |||||
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Remove useless `use crate_name;` imports. | Simon Sapin | 2018-11-08 | 1 | -2/+0 |
| | | | | A `crate_name::foo` path always works in 2018 | ||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | Rustfmt net crate | Pyfisch | 2018-11-03 | 1 | -11/+23 |
| | |||||
* | Add lots of derived Debug impls | Alan Jeffrey | 2018-10-29 | 1 | -2/+2 |
| | |||||
* | delegate resource reading to embedder | Paul Rouget | 2018-04-27 | 1 | -10/+5 |
| | |||||
* | Fix indentation errors in servo rust code that tidy now finds. | coalman | 2017-04-18 | 1 | -1/+1 |
| | |||||
* | Introduce HstsList::switch_known_hsts_host_domain_url_to_https | Anthony Ramine | 2017-04-05 | 1 | -0/+11 |
| | |||||
* | Kill hsts::secure_url | Anthony Ramine | 2017-04-05 | 1 | -13/+0 |
| | |||||
* | Use serde_json to persist cookies in the net crate | Anthony Ramine | 2017-02-22 | 1 | -5/+5 |
| | |||||
* | Refactor HSTSList to use HashMap | Raghav | 2016-12-30 | 1 | -29/+45 |
| | | | | | | | | | | | Refactored HSTSList to use HashMap, where the key of HashMap is the base domain. Every time when we check if a host is secure, we find the base domain of the host and get a vector of HSTS entries associated with the base domain. While this will not give O(1) look up time, we would have a smaller list to iterate for every lookup. I have added one unit test to validate HashMap changes. | ||||
* | Removed util. | Alan Jeffrey | 2016-12-14 | 1 | -1/+1 |
| | |||||
* | Report use statements that use {} with only one entry | Cullen Rhodes | 2016-05-27 | 1 | -2/+2 |
| | |||||
* | Upgrade to rust-url 1.0 and hyper 0.9 | Simon Sapin | 2016-04-23 | 1 | -6/+4 |
| | |||||
* | Rename 'HSTS*' structures to 'Hsts*'. | Corey Farwell | 2016-04-17 | 1 | -14/+14 |
| | | | | | | "In CamelCase, acronyms count as one word: use Uuid rather than UUID." -- https://doc.rust-lang.org/style/style/naming/README.html | ||||
* | Refactor Servo HSTS file loading, hard-fail if can't load. | Corey Farwell | 2016-04-17 | 1 | -6/+7 |
| | | | | | | | Use constructor pattern instead of separate utility function. Instead of allowing the Servo HSTS file loading to silently fail, we should expect that file to always exist and be formatted correctly. | ||||
* | Move UTF8 bytes handling into generic constructor. | Corey Farwell | 2016-04-17 | 1 | -8/+8 |
| | | | | Separate from Servo specific logic. | ||||
* | Rename constructor to match convention, add doc comment. | Corey Farwell | 2016-04-17 | 1 | -2/+3 |
| | |||||
* | Make `read_resource_file` param simpler and more idiomatic. | Corey Farwell | 2016-04-16 | 1 | -1/+1 |
| | | | | | `<P: AsRef<Path>>` is also what `File::open` uses as a generic type for the parameter. | ||||
* | Remove dependency on regex_macros | Simon Sapin | 2015-11-24 | 1 | -2/+3 |
| | | | | | This reduces the amount of code using unstable features that we depend on. The hand-written IP address parser is probably just as fast. | ||||
* | sorted the extern crate, mod & use declarations | Ravi Shankar | 2015-09-24 | 1 | -2/+1 |
| | |||||
* | Add plugins for compositing and net crates #7699 | Maciej Skrzypkowski | 2015-09-22 | 1 | -1/+1 |
| | | | | | Changed to_string calls to to_owned calls where was a need. | ||||
* | Fix reported test-tidy errors for unmerged import blocks | Brandon Fairchild | 2015-09-19 | 1 | -3/+1 |
| | | | | This merges import blocks that were reported by tidy as unmerged. | ||||
* | sort all uses | Johann Tuffe | 2015-08-20 | 1 | -1/+1 |
| | |||||
* | Use hosts-replaced URL only when loading resources | James Graham | 2015-08-05 | 1 | -2/+1 |
| | |||||
* | Uses the approach suggested by @SimonSapin for changing Url scheme | Sam Gibson | 2015-07-22 | 1 | -1/+5 |
| | | | | servo/rust-url#61 | ||||
* | Moves HSTS includeSubdomains enum to net_traits | Sam Gibson | 2015-07-22 | 1 | -8/+3 |
| | |||||
* | Responds to more code review feedback | Sam Gibson | 2015-07-22 | 1 | -6/+7 |
| | | | | | * Use regex from resource task * Don't have an option of an HSTS list, default to empty | ||||
* | Moves the HSTS replacement code to http_loader | Sam Gibson | 2015-07-22 | 1 | -14/+6 |
| | | | | This respects STS for redirects as well. | ||||
* | Moves HSTS code to it's own module | Sam Gibson | 2015-07-22 | 1 | -0/+145 |