mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-01-11 22:30:44 +01:00
characters getting replaced #112
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kufi-Ism on GitHub (Jun 3, 2016).
Hi,
found a issue while playing around with your script. Seems all u in domains names getting replaced by l regardless if the chars are in the domains.txt or manually entered by -d.
Some Sample output:
admin@FileStore:/share/homes/Stefan/letsencrypt.sh$ ./letsencrypt.sh -c -d uuuu.uu
INFO: Using main config file /share/homes/Stefan/letsencrypt.sh/config
Processing llll.ll
with domains.txt
./letsencrypt.sh -c
INFO: Using main config file /share/homes/Stefan/letsencrypt.sh/config
Processing test-ll.de
Domains looks like this:
admin@FileStore:/share/homes/Stefan/letsencrypt.sh$ cat domains.txt
test-uu.de
I am using the script on a QNAP NAS system but this should not have any influence on the script.
@lukas2511 commented on GitHub (Jun 4, 2016):
This probably has something to do with
tr '[:upper:]' '[:lower:]'which should convert all domain names to lowercase letters. Can you tell me what version oftrQNAP is using?@Kufi-Ism commented on GitHub (Jun 4, 2016):
Hi,
Qnaps QTS Issing a busybox version of tr:
BusyBox v1.01 (2016.03.10-19:14+0000) multi-call binary
Usage: tr [-cds] STRING1 [STRING2]
Translate, squeeze, and/or delete characters from
standard input, writing to standard output.
Options:
-c take complement of STRING1
-d delete input characters coded STRING1
-s squeeze multiple output characters of STRING2 into one character
@lukas2511 commented on GitHub (Jun 4, 2016):
Well I don't really support busybox binaries as they are lacking a lot of features, that should be the problem.