mirror of
https://github.com/rwf2/Rocket.git
synced 2025-01-17 06:59:06 +00:00
4d0042c395
This changes core routing so that '<path..>' in a route URI matches zero or more segments. Previously, '<path..>' matched _1_ or more. * Routes '$a' and '$b/<p..>' collide if $a and $b previously collided. * For example, '/' now collides with '/<p..>'. * Request '$a' matches route '$b/<p..>' if $a previously matched $b. * For example, request '/' matches route '/<p..>'. Resolves #985.
12 lines
187 B
HTML
12 lines
187 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width">
|
|
<title>Hmm...</title>
|
|
</head>
|
|
<body>
|
|
👀
|
|
</body>
|
|
</html>
|