Skip to content

Commit 59fcbdf

Browse files
committed
fix(https): only split on first equal sign
This makes values that can include additional equal signs (like ech) work
1 parent ac9f1c2 commit 59fcbdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

octodns_desec/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ def _data_for_HTTPS(self, _type, records):
528528
if len(record['data'].split(' ')) > 2:
529529
# iterate over all elements from index 2 to $last
530530
for parameter in record['data'].split(' ')[2:]:
531-
k,v = parameter.split('=')
531+
k,v = parameter.split('=', maxsplit=1)
532532
# convert some parameters to list
533533
if k in ('alpn', 'ipv4hint', 'ipv6hint') :
534534
v = v.split(',')

0 commit comments

Comments
 (0)