class Ramat_Hasharon_Events_Utils { /** * Normalize a URL by replacing double slashes with a single slash, * except for the protocol part (e.g., "https://"). * * @param string $url The URL to normalize. * @return string The normalized URL. */ public static function normalize_url($url) { return preg_replace('#(?