Rocket/core/lib
Sergio Benitez 0a56312607 Implement more conservative URI normalization.
* Trailing slashes are now allowed in all normalized URI paths, except
    for route attribute URIs: `/foo/` is considered normalized.
  * Query parts of URIs may now be empty: `/foo?` and `/foo/?` are now
    considered normalized.
  * The `base` field of `Catcher` is now only accessible via a new
    getter method: `Catcher::base()`.
  * `RawStr::split()` returns a `DoubleEndedIterator`.
  * Introduced a second normalization for `Origin`, "nontrailing", and
    associated methods: `Origin::normalize_nontrailing()`, and
    `Origin::is_normalized_nontrailing()`.
  * Added `Origin::has_trailing_slash()`.
  * The `Segments<Path>` iterator will now return an empty string if
    there is a trailing slash in the referenced path.
  * `Segments::len()` is now `Segments::num()`.
  * Added `RawStr::trim()`.

Resolves #2512.
2023-04-07 19:59:57 -07:00
..
fuzz Implement more conservative URI normalization. 2023-04-07 19:59:57 -07:00
src Implement more conservative URI normalization. 2023-04-07 19:59:57 -07:00
tests Implement 'De(Serialize)' for 'Status'. 2023-03-26 19:18:04 -07:00
Cargo.toml New version: 0.5.0-rc.3. 2023-03-23 16:56:17 -07:00
build.rs Migrate Rocket to Rust 2021 edition. 2022-04-19 18:35:38 -07:00