mirror of https://github.com/rwf2/Rocket.git
56cf905c6e
Prior to this commit, a route with a URI of `/` could not be mounted in such a way that the resulting effective URI contained a trailing slash. This commit changes the semantics of mounting so that mounting such a route to a mount point with a trailing slash yields an effective URI with a trailing slash. When mounted to points without a trailing slash, the effective URI does not have a trailing slash. This commit also introduces the `Route::rebase()` and `Catcher::rebase()` methods for easier rebasing of existing routes and catchers. Finally, this commit improves logging such that mount points of `/` are underlined in the logs. Tests and docs were added and modified as necessary. Resolves #2533. |
||
---|---|---|
.. | ||
ui-fail | ||
ui-fail-nightly | ||
ui-fail-stable | ||
async-entry.rs | ||
async-routes.rs | ||
catcher.rs | ||
expansion.rs | ||
from_form.rs | ||
from_form_field.rs | ||
responder.rs | ||
route-data.rs | ||
route-format.rs | ||
route-ranking.rs | ||
route-raw.rs | ||
route.rs | ||
segment-ignore.rs | ||
typed-uris.rs | ||
ui-fail.rs | ||
uri_display.rs |