Skip to content

Commit 68fa2f9

Browse files
committed
Normalize paths before saving them
1 parent 9c73e5d commit 68fa2f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/dev/design/redirects.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Normalize paths with trailing slashes
169169
Currently, if users want to redirect a path with a trailing slash and without it,
170170
they need to create two separate redirects (``/page/`` and ``/page``).
171171

172-
We can simplify this by normalizing the path before matching it.
172+
We can simplify this by normalizing the path before matching it, or before saving it.
173173

174174
For example:
175175

0 commit comments

Comments
 (0)