Fix ESCAPE issues in multiple library files

- lib/domain-discovery.sh: Added -- to grep command (1 fix)
- lib/reference-db.sh: Added -- to grep command (1 fix)
- lib/user-manager.sh: Added -- to grep command (1 fix)
- lib/email-functions.sh: Added -- to awk and grep commands (2 fixes)
- lib/php-config-manager.sh: Added -- to grep commands (3 fixes)
- lib/php-detector.sh: Added -- to grep command (1 fix)
Total: 9 ESCAPE fixes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
cschantz
2026-01-09 16:38:55 -05:00
parent 9a98f4b251
commit dea6f27b4d
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -292,7 +292,7 @@ build_domains_section() {
local doc_root=$(grep "^documentroot:" -- "$config_file" | awk '{print $2}' || true)
local log_path=$(grep "target:.*domlogs" -- "$config_file" | head -1 | awk '{print $2}' || true)
local server_alias=$(grep "^serveralias:" -- "$config_file" | awk '{print $2}' || true)
local php_version=$(grep "^phpversion:" "$config_file" | awk '{print $2}' || true)
local php_version=$(grep "^phpversion:" -- "$config_file" | awk '{print $2}' || true)
# Determine if primary domain
local is_primary="no"