From 10321f8cbaa2e6dd950e71b70fac0a5ad0686940 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Thu, 30 Aug 2012 00:44:56 +0000 Subject: [PATCH] Add htmlentities to the agent string on the registrations page to handle special characters. --- app/registrations/status_registrations.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/registrations/status_registrations.php b/app/registrations/status_registrations.php index bb8114bb57..f3110af86f 100644 --- a/app/registrations/status_registrations.php +++ b/app/registrations/status_registrations.php @@ -162,7 +162,7 @@ require_once "includes/checkauth.php"; //echo "  ".$row['user']." \n"; //echo "  ".$row['contact']." \n"; echo "  ".$row['sip-auth-user']." \n"; - echo "  ".$row['agent']." \n"; + echo "  ".htmlentities($row['agent'])." \n"; //echo "  ".$row['host']." \n"; echo "  ".$row['network-ip']." \n"; echo "  ".$row['network-port']." \n";