some bug fixes

This commit is contained in:
Henrique Dias committed 2016-06-14 20:33:59 +01:00
1 parent e137f46169
commit d6c81ec07d
11 files changed
+156 -124

No files matched your search

+1
View File
@@ -63,6 +63,7 @@ func parseConfiguration(c *caddy.Controller) ([]Config, error) {
return configs, c.ArgErr()
}
cfg.PathScope = c.Val()
cfg.PathScope = strings.TrimSuffix(cfg.PathScope, "/")
case "on":
if !c.NextArg() {
return configs, c.ArgErr()