Update change list, and note in comment

This commit is contained in:
Matthew Holt 2015-07-25 15:17:58 -06:00
parent bec9b9a3f7
commit 53b7b131cb
2 changed files with 3 additions and 0 deletions

View file

@ -82,6 +82,8 @@ func redirParse(c *Controller) ([]redirect.Rule, error) {
switch len(insideArgs) {
case 1:
// To specified (catch-all redirect)
// Not sure why user is doing this in a table, as it causes all other redirects to be ignored.
// As such, this feature remains undocumented.
rule.From = "/"
rule.To = insideArgs[0]
case 2:

1
dist/CHANGES.txt vendored
View file

@ -6,6 +6,7 @@ CHANGES
- markdown: Fix for large markdown files
- redir: Can use variables like log formats can
- redir: Catch-all redirects no longer preserve path; use {uri} instead
- redir: Create redirect tables by opening a redir block
0.7.3 (July 15, 2015)