1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 12:11:29 +02:00
gitea/modules/base
silverwind 27edc1aa19
Fix panic in BasicAuthDecode (#14046)
* Fix panic in BasicAuthDecode

If the string does not contain ":" that function would run into an
`index out of range [1] with length 1` error. prevent that.

* Update BasicAuthDecode()

Co-authored-by: 6543 <6543@obermui.de>
2020-12-17 20:51:28 -05:00
..
base.go
natural_sort_test.go
natural_sort.go
tool_test.go
tool.go