Permalink
Browse files

Fixed sensitive record

If perform [:lower:] - user can't peroperly add some records, for example
DKIM key (which is base64 encoded crypto key)
  • Loading branch information...
Ursadon committed Sep 18, 2013
1 parent 3b1a32f commit 14e0b272842ddef3f24aac5e2ed2720e42630460
Showing with 0 additions and 1 deletion.
  1. +0 −1 bin/v-add-dns-record
@@ -21,7 +21,6 @@ record=$(idn -t --quiet -u "$3" )
record=$(echo "$record" | tr '[:upper:]' '[:lower:]')
rtype=$(echo "$4"| tr '[:lower:]' '[:upper:]')
dvalue=$(idn -t --quiet -u "$5" )
dvalue=$(echo "$dvalue" | tr '[:upper:]' '[:lower:]')
priority=$6
id=$7
restart=$8

0 comments on commit 14e0b27

Please sign in to comment.