Commit 8d0d324f authored by Miek Gieben's avatar Miek Gieben

Dont normalize *

parent 3b25bfd7
......@@ -80,10 +80,15 @@ func parseTransfer(c *Controller) (to, from string, err error) {
}
if value == "to" {
to = c.Val()
to = middleware.Addr(to).Normalize()
if to != "*" {
to = middleware.Addr(to).Normalize()
}
}
if value == "from" {
from = c.Val()
if from == "*" {
// print some kind of error? TODO(miek)
}
from = middleware.Addr(from).Normalize()
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment