aboutsummaryrefslogtreecommitdiff
path: root/models/mirror_test.go
Commit message (Collapse)AuthorAge
* models/mirror: unescape credentials at read (#4014)Unknwon2017-04-04
| | | | | If we save credentials already escaped, 'url.QueryEscape' still escapes it and makes the credentials become incorrect.
* models/mirror: escape credentials before write mirror address (#4014)Unknwon2017-04-04
Special characters such as '@', ';', '#' and ':' could occur in password portion of credentials, which breaks the interpretation and saves 'config' file in with extra characters that are not recognized by Git (due to INI library).