In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/verify_firewall.cgi line 25:
[ "$*" ] && logger -p warn -t ${0##*/}[$$] "$*"
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$*" ] && logger -p warn -t "${0##*/}"[$$] "$*"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/verify_firewall.cgi line 43:
addrs=$(echo ${addrs#as * } | tr -d \")
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
addrs=$(echo "${addrs#as * }" | tr -d \")
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/verify_firewall.cgi line 80:
*[!.:[:xdigit:][:blank:]\/,]*)
^-- SC1001 (info): This \/ will be a regular '/' in this context.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/verify_firewall.cgi line 100:
[ $enabled = yes ] || exit_ok
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$enabled" = yes ] || exit_ok
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/verify_firewall.cgi line 102:
if [ $policy = allow ]; then
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$policy" = allow ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/verify_firewall.cgi line 105:
! cidrmatch "$REMOTE_ADDR" $addrs 127.0.0.0/8 ::1 || exit_ok
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
! cidrmatch "$REMOTE_ADDR" "$addrs" 127.0.0.0/8 ::1 || exit_ok
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/verify_firewall.cgi line 106:
elif [ $policy = deny ]; then
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
elif [ "$policy" = deny ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/verify_firewall.cgi line 109:
cidrmatch "$REMOTE_ADDR" $addrs || exit_ok
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cidrmatch "$REMOTE_ADDR" "$addrs" || exit_ok
For more information:
https://www.shellcheck.net/wiki/SC1001 -- This \/ will be a regular '/' in ...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...