Skip to content

Commit

Permalink
Normalize paths before saving them
Browse files Browse the repository at this point in the history
  • Loading branch information
stsewd committed Oct 26, 2023
1 parent 9c73e5d commit 68fa2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/dev/design/redirects.rst
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Normalize paths with trailing slashes
Currently, if users want to redirect a path with a trailing slash and without it,
they need to create two separate redirects (``/page/`` and ``/page``).

We can simplify this by normalizing the path before matching it.
We can simplify this by normalizing the path before matching it, or before saving it.

For example:

Expand Down

0 comments on commit 68fa2f9

Please sign in to comment.