jethrocarr / namedmanager

AGPL web-based DNS management interface in PHP
349 stars 125 forks source link

FIX: Normalize input for domains #85

Closed rouba002 closed 5 years ago

rouba002 commented 5 years ago

This is a small fix to normalise (lowercase, uppercase) input data for domains.

jethrocarr commented 5 years ago

Thanks @rouba002 !

serg-sg commented 4 years ago

@jethrocarr Lowering record content seems wrong here. For TXT record, it is case-sensitive.

Eg: _KAPKuIclNGxUreV0TuMrxHuIyMTGUOxzmhm9rfqoEM will become _kapkuiclngxurev0tumrxhuiymtguoxzmhm9rfqoem

And they are totally different. Please roll back this or exclude some specific records.

Error fixed in pull requested # 87

jethrocarr commented 4 years ago

Good catch thanks @IISergII - merging PR.