Update changelog

This commit is contained in:
Pavel Škoda
2020-09-08 10:27:58 +02:00
committed by Michal Horejsek
parent 8a7b4bb919
commit f73aeec97f
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@
Changelog [format](http://keepachangelog.com/en/1.0.0/)
## Unreleased
* GODT-511 User agent format changed.
## [IE 0.2.x] Congo

View File

@ -23,7 +23,7 @@ import (
"strings"
)
// removeBrackets handle unwanted brackets in client identification string and join with given joinBy parameter
// removeBrackets handle unwanted brackets in client identification string and join with given joinBy parameter.
// Mac OS X Mail/13.0 (3601.0.4) -> Mac OS X Mail/13.0-3601.0.4 (joinBy = "-")
func removeBrackets(s string, joinBy string) (r string) {
r = strings.ReplaceAll(s, " (", joinBy)