diff --git a/install.sh b/install.sh index 9128c20..c4df99e 100755 --- a/install.sh +++ b/install.sh @@ -204,11 +204,15 @@ env_example="$HERE/.env.example" echo "# RTSP stream URLs — one line per camera (variable name = CAM_RTSP_)" echo "#" echo "# Use single quotes around the whole value to prevent shell interpretation." - echo "# Special characters in the PASSWORD part of the URL must be URL-encoded:" - echo "# @ -> %40 : -> %3A / -> %2F # -> %23" - echo "# ! -> %21 \$ -> %24 & -> %26 % -> %25" - echo "# + -> %2B = -> %3D space -> %20" - echo "# Example: password p@ss!word becomes p%40ss%21word in the URL." + echo "# Special characters in the PASSWORD must be URL-encoded (number-row reference):" + echo "#" + echo "# ! %21 @ %40 # %23 \$ %24 % %25 ^ %5E" + echo "# & %26 * %2A ( %28 ) %29 - safe _ safe" + echo "# + %2B = %3D ~ %7E \` %60 space %20" + echo "#" + echo "# Also critical (break URL parsing if unencoded): : %3A / %2F" + echo "#" + echo "# Example: password my@p\$ss:word! -> my%40p%24ss%3Aword%21" echo "" for cam in "${CAMERAS[@]}"; do echo "CAM_RTSP_${cam}='rtsp://admin:PASSWORD@192.168.1.XXX:554/stream1'"