Following the installation instructions and running the install script, I get this error:
Cloudflare configuration already exists.
Examining the script, it seems to be a regex bug:
if ! grep -q "[Cloudflare]" "$CONF_FILE"; then
echo -e "$STRING_TO_ADD" | sudo tee -a "$CONF_FILE" > /dev/null
else
echo "Cloudflare configuration already exists."
fi
The regex string "[Cloudflare]" is a character class, matching every C, l, o, etc. Should be "\[Cloudflare\]".
Following the installation instructions and running the install script, I get this error:
Examining the script, it seems to be a regex bug:
The regex string
"[Cloudflare]"is a character class, matching everyC,l,o, etc. Should be"\[Cloudflare\]".