helpers: Avoid adding language prefix if already present
authorBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 13 Sep 2016 19:37:27 +0000 (21:37 +0200)
committerBjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com>
Tue, 13 Sep 2016 19:37:27 +0000 (21:37 +0200)
commitf53145b2748067a9d50ab57efc6423d7568c237c
treed8b00c6aaafe0269877e541e4ed1f5305b55ba9d
parent8d040c966f777a3fc462d0fb24775cb865519991
helpers: Avoid adding language prefix if already present

Fixes #2444
helpers/url.go
helpers/url_test.go