This repository has been archived on 2024-01-04. You can view files and clone it, but cannot push or open issues or pull requests.
forgejo/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.go
natural_sort_test.go
tool.go Fix panic in BasicAuthDecode (#14046) 2020-12-17 20:51:28 -05:00
tool_test.go Fix panic in BasicAuthDecode (#14046) 2020-12-17 20:51:28 -05:00