forgejo/modules
zeripath 71aa64ae25
fix broken insecureskipverify handling in rediss connection uris (#20967) (#21053)
Backport #20967

Currently, it's impossible to connect to self-signed TLS encrypted redis instances. The problem lies in inproper error handling, when building redis tls options - only invalid booleans are allowed to be used in `tlsConfig` builder. The problem is, when `strconv.ParseBool(...)` returns error, it always defaults to false - meaning it's impossible to set `tlsOptions.InsecureSkipVerify` to true.

Fixes #19213

Co-authored-by: Igor Rzegocki <ajgon@users.noreply.github.com>
2022-09-04 14:59:20 +01:00
..
activitypub
analyze
appstate
auth
avatar
base
cache
charset
container
context Fix download archiver of a commit (#20962) (#20971) 2022-08-28 13:29:34 +02:00
convert
csv
doctor Fix git.Init for doctor sub-command (#20782) (#20783) 2022-08-14 00:32:44 +08:00
emoji
eventsource
generate
git Add more checks in migration code (#21011) (#21050) 2022-09-04 08:41:21 -05:00
gitgraph
graceful Ensure that graceful start-up is informed of unused SSH listener (#20877) 2022-08-21 20:18:22 +08:00
hcaptcha
highlight Adjust line detection in highlight.go (#20612) 2022-08-03 01:37:28 +08:00
hostmatcher fix merge (#20819) 2022-08-17 11:33:26 -04:00
httpcache
httplib
indexer
json
lfs
log Disable doctor logging on panic (#20847) (#20898) 2022-08-24 15:04:41 +01:00
markup
metrics
migration Add more checks in migration code (#21011) (#21050) 2022-09-04 08:41:21 -05:00
nosql fix broken insecureskipverify handling in rediss connection uris (#20967) (#21053) 2022-09-04 14:59:20 +01:00
notification
options
packages Add migrate repo archiver and packages storage support on command line (#20757) (#20806) 2022-08-18 09:27:56 +08:00
paginator
password
pprof
private
process
proxy
public
queue
recaptcha
references
regexplru
repository Executable check always returns true for windows (#20637) (#20835) 2022-08-17 23:34:29 +01:00
secret
session
setting Enable contenthash in filename for dynamic assets (#20813) (#20932) 2022-08-25 07:16:20 +01:00
ssh Ensure that graceful start-up is informed of unused SSH listener (#20877) 2022-08-21 20:18:22 +08:00
storage
structs
svg
sync
templates Enable contenthash in filename for dynamic assets (#20813) (#20932) 2022-08-25 07:16:20 +01:00
test
timeutil
translation
typesniffer
updatechecker
upload
uri
user
util Fix SecToTime edge-cases (#20610) (#20611) 2022-08-08 13:09:12 +08:00
validation Add more checks in migration code (#21011) (#21050) 2022-09-04 08:41:21 -05:00
web