gitea/modules/base
silverwind 55d7e53d99
Fix panic in BasicAuthDecode () ()
* 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>

Co-authored-by: 6543 <6543@obermui.de>
Co-authored-by: zeripath <art27@cantab.net>
..
base.go API error cleanup ()
natural_sort.go Sort repository tree entries in natural way ()
natural_sort_test.go Sort repository tree entries in natural way ()
tool.go Fix panic in BasicAuthDecode () ()
tool_test.go Fix panic in BasicAuthDecode () ()