aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/webglimpse/files/patch-af2
1 files changed, 1 insertions, 1 deletions
diff --git a/www/webglimpse/files/patch-af b/www/webglimpse/files/patch-af
index e5952dd20037..df2cdd92f8d0 100644
--- a/www/webglimpse/files/patch-af
+++ b/www/webglimpse/files/patch-af
@@ -22,7 +22,7 @@
# if the protocol isn't http, assume it's good
- if($prot!~/http/i){
-+ if(defined($prot) && $prot!~/http/i){
++ if(!defined($prot) || $prot!~/http/i){
return 1;
}