Skip to content

Commit

Permalink
Patch from @jcw9930
Browse files Browse the repository at this point in the history
  • Loading branch information
buger committed Nov 26, 2014
1 parent b6977df commit eb7885c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings_url_map.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func (r *UrlRewriteMap) Set(value string) error {
func (r *UrlRewriteMap) Rewrite(path string) string {
for _, f := range *r {
if f.src.MatchString(path) {
return f.src.ReplaceAllString(path, f.target)
path = f.src.ReplaceAllString(path, f.target)
}
}
return path
Expand Down

0 comments on commit eb7885c

Please sign in to comment.