From e8ee0bcd2a8961c5eabdd1661f444cb95349ebd4 Mon Sep 17 00:00:00 2001
From: Dries Buytaert <dries@buytaert.net>
Date: Mon, 9 Oct 2006 06:47:22 +0000
Subject: [PATCH] - Patch #40209 by pascal and jvandyk: added missing semicolon
 to URL validation.

---
 includes/common.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/includes/common.inc b/includes/common.inc
index 581437de426c..c32bee9d879f 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -689,7 +689,7 @@ function valid_email_address($mail) {
  *   TRUE if the URL is in a valid format.
  */
 function valid_url($url, $absolute = FALSE) {
-  $allowed_characters = '[a-z0-9\/:_\-_\.\?\$,~=#&%\+]';
+  $allowed_characters = '[a-z0-9\/:_\-_\.\?\$,;~=#&%\+]';
   if ($absolute) {
     return preg_match("/^(http|https|ftp):\/\/". $allowed_characters ."+$/i", $url);
   }
-- 
GitLab