Closed Pilskalns closed 6 years ago
- Do you want to request a feature or report a bug? A bug.
- What is the current behavior? Playground generates rule for netlify.toml with url-escaped : as %3Ain path, which shouldn't be.
netlify.toml
:
%3A
- If the current behavior is a bug, please provide the steps to reproduce. Test following syntax:
http://domain.com/* https://domain.com/:splat/
And output will be:
[[redirects]] from = "http://domain.com/*" to = "https://domain.com:443/%3Asplat" status = 301 force = true
This will redirect literally to https://domain.com/%3Asplat
https://domain.com/%3Asplat
- What is the expected behavior? The output path shouldn't be url-escaped:
[[redirects]] from = "http://domain.com/*" to = "https://domain.com:443/:splat" status = 301 force = true
ugh, thanks for reporting this 👍
Actually all placeholders are currently urlencoded, not only the :splat.
:splat
- Do you want to request a feature or report a bug? A bug.
- What is the current behavior? Playground generates rule for
netlify.toml
with url-escaped:
as%3A
in path, which shouldn't be.- If the current behavior is a bug, please provide the steps to reproduce. Test following syntax:
And output will be:
This will redirect literally to
https://domain.com/%3Asplat
- What is the expected behavior? The output path shouldn't be url-escaped: