From 53b7b131cb126c1c9ddc40335c2cf61dd328da1e Mon Sep 17 00:00:00 2001 From: Matthew Holt Date: Sat, 25 Jul 2015 15:17:58 -0600 Subject: [PATCH] Update change list, and note in comment --- config/setup/redir.go | 2 ++ dist/CHANGES.txt | 1 + 2 files changed, 3 insertions(+) diff --git a/config/setup/redir.go b/config/setup/redir.go index d7d79ff3a..008ba6c77 100644 --- a/config/setup/redir.go +++ b/config/setup/redir.go @@ -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: diff --git a/dist/CHANGES.txt b/dist/CHANGES.txt index 40d20230f..87ce6eb55 100644 --- a/dist/CHANGES.txt +++ b/dist/CHANGES.txt @@ -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)