Rocket/core/codegen/tests/ui-fail
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
..
async-entry.rs Introduce statically-enforced 'Rocket' phasing. 2021-04-13 19:26:45 -07:00
bad-ignored-segments.rs Add tests for ignored parameters '<_>'. 2020-10-30 00:47:41 -07:00
catch.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
catch_type_errors.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
catchers.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
from_form.rs Avoid more platform dependent errors in UI tests. 2022-05-03 14:33:11 -07:00
from_form_field.rs Allow several 'field' attributes in all derives. 2021-04-07 23:09:05 -07:00
from_form_type_errors.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
responder-types.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
responder.rs Update 'devise', fix 'Responder' derive generics. 2021-08-19 19:49:23 -07:00
route-attribute-general-syntax.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
route-path-bad-syntax.rs Implement more conservative URI normalization. 2023-04-07 19:59:57 -07:00
route-type-errors.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
route-warnings.rs Drop 'Data' after sending a response, not before. 2021-06-08 13:26:16 -07:00
routes.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00
synchronize.sh Allow custom generic bounds in 'Responder' derive. 2021-05-26 02:26:11 -07:00
typed-uri-bad-type.rs Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
typed-uris-bad-params.rs Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
typed-uris-invalid-syntax.rs Overhaul URI types, parsers, 'uri!' macro. 2021-05-19 18:47:11 -07:00
uri_display.rs UTF-8 routes. Forms revamp. Temp files. Capped. 2021-03-04 01:51:21 -08:00
uri_display_type_errors.rs Improve diagnostics, especially on stable. 2020-07-21 15:31:42 -07:00